Prerequisites

Before you begin, make sure you have:

Step 1: Install Dependencies

First, you'll need to install some dependencies to prepare your environment.

sudo apt update && sudo apt upgrade -y
sudo apt install -y curl git make gcc jq lz4 build-essential

Step 2: Install Go (Golang)

Nibiru uses Go to build and run its nodes. If you don't have Go installed, follow these steps to install it.

wget <https://go.dev/dl/go1.18.10.linux-amd64.tar.gz>
sudo tar -C /usr/local -xvf go1.18.10.linux-amd64.tar.gz
echo "export PATH=$PATH:/usr/local/go/bin" >> ~/.bash_profile
source ~/.bash_profile

To verify the Go installation:

go version

You should see output like this:

go version go1.18.10 linux/amd64

Step 3: Clone the Nibiru Repository

Next, you will need to clone the official Nibiru GitHub repository.