CLI Reference
The nproxy CLI enrolls a repo or machine once, then keeps protection running passively from .nproxy/contract.json.
Installation
The CLI is designed to run via npx (or pnpm dlx, yarn dlx) without a global install:
npx nproxy <command>
pnpm dlx nproxy <command>
yarn dlx nproxy <command>
Commands
| Command | Description |
|---|---|
nproxy setup | Enroll and reconcile the protection contract |
nproxy status | Show daemon, contract, projector, and drift status |
nproxy inspect | Inspect contract, package, dependency, audit, SBOM, or binding evidence |
nproxy approve | List, show, approve, or reject protected operations |
nproxy admin | Manage admin-scoped API tokens |
Global options
All commands accept these flags:
| Flag | Description |
|---|---|
--help | Show help for the command |
--version | Show the CLI version (currently 0.0.1) |
Removed public commands
The CLI no longer exposes run, exec, dogfood, bindings, bind, generate, proxy, daemon, doctor, verify, query, deps, audit, sbom, completion, or approvals.
Use normal tools after setup: pnpm install, npm publish, pm2 start, docker compose up, kubectl apply, and wrangler deploy.