Today, there are multiple ways to get ABT Node up and running, Today, you can launch ABT Node on Amazon Web Services, Docker, as well as locally on your device.
*Note, if you are interested in running ABT Node locally on your device, we currently support Linux and macOS. If you are using another OS like Windows, we recommend using Windows Subsystem Linux (WSL) or you can use a virtual machine and make sure your ABT Wallet can access your VM's IP address.
Step 1: Install nvm
To install nvm, run this command:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/nvm-sh/nvm/master/install.sh)"
This one works on macOS:
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
and this one works on Linux:
wget -qO- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash
Get the latest LTS version of Node.js using this command (you can list all versions with
nvm ls-remote | grep 'Latest LTS'
At the time of writing this document, the latest LTS version is v12.18.3.
nvm install v12.18.3
Note: You can install the latest version of Node.js instead by running this command:
Now, run this command to install ABT Node with npm:
npm install -g @abtnode/cli
If you are going to create blocklets, you are recommended to install an IDE. A popular IDE you can try is VSCode.