命令速查

安装与连接

curl -fsSL https://file.haiyand.com/files/ns.sh | sudo sh
ns --version
sudo ns up --server https://nsd.haiyand.com

状态与诊断

ns status --probe --dns
ns status --all
ns status --json
ns info
ns info --json
ns doctor
ns report

Space、出口与子网

ns space list
ns space switch <NETWORK_ID>
ns exit set --help
ns exit clear
ns subnet list
ns subnet bindings
ns subnet add --help
ns subnet bind --help

停止、恢复与更新

sudo ns down
ns repair
sudo ns reset
ns update --check
sudo ns update

完整删除身份(破坏性,之后必须重新登记):

sudo ns reset --all --yes

所有示例使用占位符。不要把真实 token、邀请、私钥或客户地址写入 shell history、工单或文档。完整选项见NS 命令参考