How to update/revert Hummingbot
Simply uninstall Hummingbot locally from your computer, then download and install the latest version from the website https://hummingbot.io/download/
Hummingbot is regularly updated each month (see Release Notes) and recommend users to regularly update their installations to get the latest version of the software.
Updating to the latest docker image (e.g.
coinalpha/hummingbot:latest) requires users to (1) delete any instances of Hummingbot using that image, (2) delete the old image, and (3) recreate the Hummingbot instance:
# 1) Download update script wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/update.sh # 2) Enable script permissions chmod a+x update.sh # 3) Run script to update hummingbot ./update.sh
Download the latest code from GitHub:
# From the hummingbot root folder: git pull origin master # Recompile the code: conda deactivate ./uninstall ./clean ./install conda activate hummingbot ./compile bin/hummingbot.py
Alternatively, use our automated script:
# 1) Download update script to the *root* folder wget https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/install-from-source/update.sh # 2) Enable script permissions chmod a+x update.sh # 3) Run script to update hummingbot ./update.sh
A previous version can be installed when creating a Hummingbot instance.
# 1) Run the script to create a hummingbot instance ./create.sh # 2) Specify the version to be installed when prompted ** ✏️ Creating a new Hummingbot instance ** ℹ️ Press [enter] for default values. ➡️ Enter Hummingbot version: [latest|development] (default = "latest")
- Windows/Mac/Linux: For example, enter
version-0.16.0. The versions are listed here in Hummingbot Tags.
- Raspberry Pi: For example, enter
dev-0.30.0-arm_beta. The versions are listed here in Hummingbot Tags.
The user can revert and update Hummingbot installed via Binary by following the steps below:
To install a previous Hummingbot version via binary, download the installer from https://hummingbot.io/download/ in the previous client section
Users can also download an older version not listed in the website using the URL format https://dist.hummingbot.io/[hummingbot_version]