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

CommandDescription
nproxy setupEnroll and reconcile the protection contract
nproxy statusShow daemon, contract, projector, and drift status
nproxy inspectInspect contract, package, dependency, audit, SBOM, or binding evidence
nproxy approveList, show, approve, or reject protected operations
nproxy adminManage admin-scoped API tokens

Global options

All commands accept these flags:

FlagDescription
--helpShow help for the command
--versionShow 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.