Install the CLI
The nca CLI is distributed as a standalone binary — no Node.js, no native module compilation.
One-liner (macOS, Linux)
curl -fsSL https://cdn1.netmind.xyz/cli/install.sh | sh
This installs to ~/.local/bin/nca. Override with NCA_INSTALL_DIR=/usr/local/bin (you may need sudo).
Manual download
Pull a tarball / zip from https://cdn1.netmind.xyz/cli/v<version>/. The latest version string is at https://cdn1.netmind.xyz/cli/latest/version.txt.
| platform | asset |
|---|---|
| linux-x64 | nca-<ver>-linux-x64.tar.gz |
| linux-arm64 | nca-<ver>-linux-arm64.tar.gz |
| macos-x64 (Intel) | nca-<ver>-darwin-x64.tar.gz |
| macos-arm64 (Apple) | nca-<ver>-darwin-arm64.tar.gz |
| windows-x64 | nca-<ver>-windows-x64.zip |
Each tarball ships with a sibling .sha256 for verification.
First run
nca login # browser-based auth
nca whoami
nca agent list
Set the API endpoint via flag or env:
export NCA_API_URL=https://your-api.example.com/api
export NCA_TOKEN=...