This guide explains how to install the Nibiru binary, nibid, from this repository.
- Go (see
go.modfor the required version): Install Go - command
just: Install just - Common build tooling (
git, C compiler toolchain,curl,jq)
Example packages on Ubuntu:
sudo apt update
sudo apt install --yes git build-essential curl jqgit clone https://github.com/NibiruChain/nibiru
cd nibiruFrom the repository root, run:
just installThis builds and installs the nibid binary.
just localnetOpen another terminal if you want to query the node while the localnet is running.
To switch to a specific tagged release:
git fetch --tags
git checkout <tag>
just installFor network-specific instructions:
- Testnet: Nibiru Networks - Testnet
- Mainnet: Nibiru Networks - Mainnet
If nibid is not on your PATH, add your Go bin directory:
export PATH="$PATH:$(go env GOPATH)/bin"Then reload your shell config.
Rebuild and reinstall from the repository root:
just installUse command just proto gen from the repository root.
If a local command used by your shell scripts is missing, install it with Homebrew (for example, command brew install wget).