Linux - Hummingbot
URL: https://hummingbot.org/installation/linux/
Contents:
- Linux
- Prerequisites¶
- Cloud server or local machine¶
- Update Dependencies¶
- Miniconda / Anaconda¶
- Install Hummingbot¶
- Launch Hummingbot¶
- Other Useful Commands¶
- Update Hummingbot to latest master release¶
- Update Hummingbot to development branch¶
The instructions below help you install a standalone Hummingbot instance from source on Linux-based machines.
On new Ubuntu instances, you may need to install the build-essentials package:
Hummingbot uses conda, an open source environment manager to manage dependencies for Python. You can install conda using either Miniconda or Anaconda.
Download the installer for your environment and run it:
Follow the prompts on the installer screens. If you are unsure about any setting, accept the defaults.
To make the changes take effect, close and then re-open your terminal window.
After you have installed the dependencies, run the following commands to install Hummingbot from source:
The conda activate hummingbot command should add a (hummingbot) label in front of your command line, which lets you know that you are inside the conda environment. If not, check if conda was installed correctly and reinstall if necessary.
From inside the conda environment, run the following command to launch Hummingbot:
You should see the Hummingbot welcome screen:
To get started with Hummingbot, check out the following docs:
If you need to run DEX bots, install Hummingbot Gateway.
Examples:
Example 1 (unknown):
sudo apt update && sudo apt upgrade -y && sudo apt install -y gcc build-essentialExample 2 (unknown):
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
bash Miniconda3-latest-Linux-x86_64.shExample 3 (unknown):
git clone https://github.com/hummingbot/hummingbot.git
cd hummingbot
./install
conda activate hummingbot
./compileExample 4 (unknown):
git pull origin master