Every command the binary ships with. nsa <command> -h prints
the same usage with its full set of flags.
One static binary, fetched from the terminal. Pick your platform.
# macOS, Apple Silicon curl -fsSL https://releases.nsa.tech/nsa-darwin-arm64-latest -o nsa && chmod +x nsa && sudo mv nsa /usr/local/bin/ # macOS, Intel curl -fsSL https://releases.nsa.tech/nsa-darwin-amd64-latest -o nsa && chmod +x nsa && sudo mv nsa /usr/local/bin/ # Linux, x86-64 curl -fsSL https://releases.nsa.tech/nsa-linux-amd64-latest -o nsa && chmod +x nsa && sudo mv nsa /usr/local/bin/ # Linux, ARM64 curl -fsSL https://releases.nsa.tech/nsa-linux-arm64-latest -o nsa && chmod +x nsa && sudo mv nsa /usr/local/bin/ # Windows, x86-64 (PowerShell) curl.exe -fsSL https://releases.nsa.tech/nsa-windows-amd64-latest.exe -o nsa.exe
Create a network on one machine and join it from the others. The 12-word secret is the only thing you share, and it is a full credential.
nsa new [--config-dir D] <name>nsa join [--network <label>] [--lan] <name>Every machine that wants to reach or be reached runs nsa up — including the one that dials. Off your LAN, it needs a switchboard you run.
nsa up [--network <label>] [--lan] [--no-dht] [--listen <maddr>]... [<switchboard-maddr>...]nsa down [--network <label>]nsa switchboard [--listen <maddr>]... [--identity <path>]These talk to the node nsa up started. Without it running they stop with the node isn't running.
nsa ssh [--network <label>] [--via <switchboard-maddr>] [ssh args] [user@]<name> [cmd]nsa vnc [--network <label>] [--port N] [--no-viewer] [--via <switchboard-maddr>]... <name>nsa port [--network <label>] [--local-port N] [--via <switchboard-maddr>]... <port> <name>nsa pipe [--network <label>] [--port N] [--via <switchboard-maddr>]... <name>nsa ping [--network <label>] [--via <switchboard-maddr>]... <name>nsa status [--network <label>] [name]nsa doctor is the one to run first when something will not connect.
nsa doctor [--network <label>] [--via <switchboard-maddr>]...nsa version [--check]nsa update [--check] [--yes]