Install from source

⚠️

Please note that, although installing from source is the recommended route for installing namada, it can prove to be difficult, and is not recommended for beginners. For a first time installation, the installation process can take up to an hour. Building binaries from source can also take a long time, depending on the machine.

Pre-requisites

Ensure the correct pre-requisites have been downloaded and installed.

Installing Namada

Once all the required dependencies have been installed, the next step is to clone the source code from the Namada repository (opens in a new tab) and build it with:

git clone https://github.com/anoma/namada.git
cd namada 
make install
⚠️

During internal and private testnets, checkout the latest testnet branch using git checkout $NAMADA_TESTNET_BRANCH. Where $NAMADA_TESTNET_BRANCH is the name of the testnet branch, which will be specified in the testnet documentation.

Adding binaries to $PATH

The binaries should be added to $PATH from the make install command. However, if this for some reason did not work, a solution may be to copy the binaries from namada/target/release to $HOME/.local/bin/ for example:

cp namada/target/release/namada* $HOME/.local/bin/

Using the binaries

See the page on using namada binaries for more information.

Troubleshooting

Please see the troubleshooting page for building from source for more information.