Installing CLI
1. Update the packages
Start by ensuring that the package list on the system is up to date by running the following command from the terminal:
sudo apt update
You’ll also need wget and curl, if they do not come preinstalled on your distribution:
sudo apt install wget curl
2. Download and install the babylonnode CLI
Now download the babylonnode CLI from its GitHub repository.
-
Copy the link to the script file for your distribution (e.g.
babylonnode-ubuntu-22.04) -
On the target system, download the binary using
wget. Here’s an example command that downloads version 2.2.3 (but you should always use the latest one) for Ubuntu 22.04:
wget -O babylonnode https://github.com/radixdlt/babylon-nodecli/releases/download/2.2.3/babylonnode-ubuntu-22.04
By using thebabylonnodeCLI you agree to theEnd User License Agreement.
Set the permissions on the script to executable:
chmod +x babylonnode
And move it to the /usr/local/bin/ directory, so that it’s accessible without the need to specify a full path:
sudo mv babylonnode /usr/local/bin
If you are installing thebabylonnodeCLI for use with an existing systemd node installation, thenbabylonnodeshould instead be moved to yourradixdltdirectory where it will expect to find your existing keystore file.
You may also need to set the current user as the owner of theradixdltdirectory.
Next:Installing the Node