MacOS Installation Using Docker

Step 1. Install Docker

You can install Docker by downloading an installer from the official page. After you have downloaded and installed Docker, restart your system if necessary.

Step 2. Install Hummingbot

You can install Hummingbot by selecting either of the following options from the tabs below:

  1. Easy Install: download and use automated install scripts.
  2. Manual Installation: run install commands manually.
1
2
3
4
5
6
7
8
# 1) Download Hummingbot install script
curl https://raw.githubusercontent.com/CoinAlpha/hummingbot/development/installation/docker-commands/create.sh -o create.sh

# 2) Enable script permissions
chmod a+x create.sh

# 3) Run installation
./create.sh
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
# 1) Create folder for your new instance
mkdir hummingbot_files

# 2) Create folders for log and config files
mkdir hummingbot_files/hummingbot_conf && mkdir hummingbot_files/hummingbot_logs

# 3) Launch a new instance of hummingbot
docker run -it \
--name hummingbot-instance \
--mount "type=bind,source=$(pwd)/hummingbot_files/hummingbot_conf,destination=/conf/" \
--mount "type=bind,source=$(pwd)/hummingbot_files/hummingbot_logs,destination=/logs/" \
coinalpha/hummingbot:latest