Skip to main content
Nexis CLI is a powerful tool that allows you to interact with the Nexis Native Chain directly from your terminal. As a developer, setting it up locally is essential. Here’s a step-by-step guide to get you started:
To ensure your system is up to date and has all the necessary dependencies, run the following commands:
sudo apt-get update
sudo apt-get install libssl-dev libudev-dev pkg-config zlib1g-dev llvm clang make cmake protobuf-compiler
Install Rust using rustup, which is Rust’s toolchain installer:
curl https://sh.rustup.rs -sSf | sh
source $HOME/.cargo/env
rustup component add rustfmt
rustup update
Clone the Nexis Network CLI source code from the official GitHub repository:
git clone https://github.com/nexis-network/nexis-network.git
cd nexis-network
Install the required binaries by running the installation script:
./scripts/cargo-install-all.sh .
Run the Nexis CLI with the following command:
./nexis-network/target/release/nexis
Note: Make sure to add the Nexis CLI as a binary on your machine. Follow the command line instructions displayed on screen after the installation of all packages.This will start the Nexis CLI, allowing you to interact with the Nexis Native Chain directly from your terminal.

CLI Uses

You can use Nexis CLI for multiple purposes, which are as follows:
I