Install nca
One command on macOS and Linux. Detects your platform, downloads the latest release from GitHub, and installs to /usr/local/bin.
One-line install
curl -fsSL https://nca-cli.com/install | bash
Set NCA_INSTALL_DIR to change the install path from the default.
GitHub Releases
Pre-built binaries for every release are on the Releases page.
- macOS (Apple Silicon)
aarch64-apple-darwin - macOS (Intel)
x86_64-apple-darwin - Linux (x86_64, glibc)
x86_64-unknown-linux-gnu - Linux (x86_64, static)
x86_64-unknown-linux-musl - Linux (ARM64)
aarch64-unknown-linux-gnu
Build from source
Requires Rust edition 2024 and a recent toolchain.
$ git clone https://github.com/madebyaris/native-cli-ai.git $ cd native-cli-ai $ cargo build --release $ cp target/release/nca /usr/local/bin/
Quick start
# Configure a provider $ export MINIMAX_API_KEY="your-api-key" # Interactive CLI $ nca # Line REPL (no full-screen TUI) $ nca --no-tui # One-shot $ nca run --prompt "Explain this repository" # Detached session $ nca spawn --prompt "Inspect the repo and draft a plan" # Inspect & attach $ nca sessions $ nca status <session_id> $ nca attach <session_id>