# Install Nibiru fullnode

# Install go

Required

Go 1.17.0+ is required for the Cosmos SDK.

Firstly, install golang from the official golang donwload page (opens new window).

wget https://go.dev/dl/go1.17.6.linux-amd64.tar.gz
sudo tar -C /usr/local -xzf go1.17.6.linux-amd64.tar.gz
1
2

Be sure to set your $GOPATH, $GOBIN, and $PATH environment variables, for example:

echo '#golang' >> ~/.bashrc
echo 'export PATH="$PATH:/usr/local/go/bin"' >> ~/.bashrc
echo 'export GOPATH="$HOME/go"' >> ~/.bashrc
echo 'export PATH="$PATH:$GOPATH/bin"' >> ~/.bashrc
echo 'export GOBIN=$GOPATH/bin' >> ~/.bashrc

source ~/.bashrc
1
2
3
4
5
6
7

Verify that golang has been installed successfully.

go version
go version go1.17.6 linux/amd64
1
2

# Install Nibiru

With golang, you can compile and run nibiru.

git clone https://github.com/cosmos-gaminghub/nibiru.git
cd nibiru && git checkout -b v0.9 tags/v0.9
make install
1
2
3

Try nibirud version to verify that everything is fine.

Tips

If you are using ubuntu, make sure to install build tools with the command apt install build-essential before make install.

Tips

If you want to use a ledger device, make sure to set LEDGER_ENABLED. Ex: LEDGER_ENABLED=true make install.