Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
N

nexus-cli

> 编程语言
Open source

Command line interface for supplying proofs to the Nexus network.

1.1K stars0 likes1 views
WebsiteGitHub

About

Command line interface for supplying proofs to the Nexus network.

Nexus CLI

A high-performance command-line interface for contributing proofs to the Nexus network.

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:

  • Testnet 0: October 8 – 28, 2024
  • Testnet I: December 9 – 13, 2024
  • Testnet II: February 18 – 22, 2025
  • Devnet: February 22 - June 20, 2025
  • Testnet III: Ongoing

Quick Start

Installation

Precompiled Binary (Recommended)

For the simplest and most reliable installation:

bash
curl https://cli.nexus.xyz/ | sh

This downloads the latest binary, prompts for Terms of Use acceptance, and starts interactive mode.

Non-Interactive Installation

For automated installations (e.g., in CI):

bash
curl -sSf https://cli.nexus.xyz/ -o install.sh
chmod +x install.sh
NONINTERACTIVE=1 ./install.sh

Note 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 use nexus-compute-cli.

Proving

Proving with the CLI is documented here.

To start with an existing node ID, run:

bash
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.

bash
nexus-compute-cli register-user --wallet-address 
nexus-compute-cli register-node --node-id 
nexus-compute-cli start

To run the CLI noninteractively, you can also opt to start it in headless mode.

bash
nexus-compute-cli start --headless

Quick Reference

The register-user and register-node commands will save your credentials to ~/.nexus/config.json. To clear credentials, run:

bash
nexus-compute-cli logout

For troubleshooting or to see available command-line options, run:

bash
nexus-compute-cli --help

Adaptive Task Difficulty

The 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.

How It Works

  • Starts at: small difficulty
  • Auto-promotes: If tasks complete in Tip: Use nexus-compute-cli start --help to see the full auto-promotion details in the CLI help text.

Troubleshooting Difficulty Issues

Tasks taking too long:

Try a lower difficulty.

bash
nexus-compute-cli start --max-difficulty small_medium

Want more challenging tasks:

Request a harder difficulty. It will still take time to build up reputation to get the requested difficulty.

bash
nexus-compute-cli start --max-difficulty extra_large_2

Unsure about system capabilities:

  • Use the default adaptive system (no --max-difficulty needed)
  • The system will automatically find the optimal difficulty for your hardware
  • Only override if you're fine-tuning performance

Docker Installation

For containerized deployments:

  1. Install Docker and Docker Compose
  2. Update the node ID in docker-compose.yaml
  3. Build and run:
bash
docker compose build --no-cache
docker compose up -d
docker compose logs  # Check logs
docker compose down  # Shutdown

Terms of Use

Use of the CLI is subject to the Terms of Use. First-time users running interactively will be prompted to accept these terms.


Node ID

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:

json
{
   "node_id": ""
}

Get Help

  • Network FAQ
  • Discord Community
  • Technical issues? Open an issue
  • To submit programs to the network for proving, contact [email protected].

Contributing

Interested in contributing to the Nexus Network CLI? Check out our Contributor Guide for:

  • Development setup instructions
  • How to report issues and submit pull requests
  • Our code of conduct and community guidelines
  • Tips for working with the codebase

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.

Developer Guide

The following steps may be required in order to set up a development environment for contributing to the project:

Linux

bash
sudo apt update
sudo apt upgrade
sudo apt install build-essential pkg-config libssl-dev git-all
sudo apt install protobuf-compiler

macOS

bash
# Install using Homebrew
brew install protobuf

# Verify installation
protoc --version

Windows

Install WSL, then see Linux instructions above.

bash
# Install using Chocolatey
choco install protobuf

License

Nexus CLI is distributed under the terms of both the MIT License and the Apache License (Version 2.0).

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

Rustcryptographynetworkrust

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言