Command line interface for supplying proofs to the Nexus network.
Command line interface for supplying proofs to the Nexus network.
A high-performance command-line interface for contributing proofs to the Nexus network.
The Nexus network unifies compute from nodes around the world into one verifiable system state. Learn more.
There have been several testnets so far:
For the simplest and most reliable installation:
curl https://cli.nexus.xyz/ | shThis downloads the latest binary, prompts for Terms of Use acceptance, and starts interactive mode.
For automated installations (e.g., in CI):
curl -sSf https://cli.nexus.xyz/ -o install.sh
chmod +x install.sh
NONINTERACTIVE=1 ./install.shNote on the command name: The CLI command is now
nexus-compute-cli. The previous name,nexus-cli, continues to work as an alias during the transition window, so existing scripts won't break — but new setups should usenexus-compute-cli.
Proving with the CLI is documented here.
To start with an existing node ID, run:
nexus-compute-cli start --node-id Alternatively, you can register your wallet address and create a node ID with the CLI, or at app.nexus.xyz.
nexus-compute-cli register-user --wallet-address
nexus-compute-cli register-node --node-id
nexus-compute-cli startTo run the CLI noninteractively, you can also opt to start it in headless mode.
nexus-compute-cli start --headlessThe register-user and register-node commands will save your credentials to ~/.nexus/config.json. To clear credentials, run:
nexus-compute-cli logoutFor troubleshooting or to see available command-line options, run:
nexus-compute-cli --helpThe Nexus CLI features an adaptive difficulty system that automatically adjusts task difficulty based on your node's performance. This ensures optimal resource utilization while preventing system overload.
small difficultynexus-compute-cli start --help to see the full auto-promotion details in the CLI help text.Tasks taking too long:
Try a lower difficulty.
nexus-compute-cli start --max-difficulty small_mediumWant more challenging tasks:
Request a harder difficulty. It will still take time to build up reputation to get the requested difficulty.
nexus-compute-cli start --max-difficulty extra_large_2Unsure about system capabilities:
--max-difficulty needed)For containerized deployments:
docker-compose.yamldocker compose build --no-cache
docker compose up -d
docker compose logs # Check logs
docker compose down # ShutdownUse of the CLI is subject to the Terms of Use. First-time users running interactively will be prompted to accept these terms.
During the CLI's startup, you'll be asked for your node ID. To skip prompts in a
non-interactive environment, manually create a ~/.nexus/config.json in the
following format:
{
"node_id": ""
}Interested in contributing to the Nexus Network CLI? Check out our Contributor Guide for:
For most users, we recommend using the precompiled binaries as described above. The contributor guide is intended for those who want to modify or improve the CLI itself.
The following steps may be required in order to set up a development environment for contributing to the project:
sudo apt update
sudo apt upgrade
sudo apt install build-essential pkg-config libssl-dev git-all
sudo apt install protobuf-compiler# Install using Homebrew
brew install protobuf
# Verify installation
protoc --versionInstall WSL, then see Linux instructions above.
# Install using Chocolatey
choco install protobufNexus CLI is distributed under the terms of both the MIT License and the Apache License (Version 2.0).
No open issues yet, or sync has not completed.