NNO Docs
CLI

CLI Commands

Quick reference for all NNO CLI commands — auth, project, feature, and marketplace.

CLI Commands

Quick reference for the nno CLI. For detailed flags and exit codes, see /reference/cli.

Auth

CommandDescriptionKey flags
nno loginAuthenticate with NNO--token <token> for CI use
nno logoutClear stored credentials
nno whoamiShow current auth status and platform
nno login --token eyJ...         # CI / non-interactive
nno whoami                       # → Authenticated as [email protected], Platform: k3m9p2xw7q
nno logout

Project

Commands for managing the console shell and platform services.

CommandDescriptionKey flags
nno project devStart all NNO services for local development
nno project buildBuild the console shell-e, --env stg|prod
nno project deploy <platformId>Trigger a Cloudflare Pages deployment--env dev|stg|prod
nno project checkValidate project config for a target environment-e, --env local|dev|stg|prod
nno project dev                  # starts all 8 services concurrently
nno project build --env prod     # builds console → apps/console/dist/
nno project deploy k3m9p2xw7q --env prod
nno project check --env stg      # validates wrangler.toml, env vars, IDs

nno project dev starts all backend services (IAM, Registry, Billing, Provisioning, Stack Registry, CLI Service, Gateway) plus the console frontend — colour-coded in your terminal.

nno project check runs a set of preflight checks (wrangler.toml present, environment sections defined, no placeholder IDs, required env vars set) and exits with code 2 if any errors are found.

Feature

Commands for building and publishing NNO feature packages.

CommandDescriptionKey flags
nno feature init <name>Scaffold a new feature package--no-service, --dir <path>
nno feature devStart the local feature dev environment--no-service, --platform <id>, --env dev|stg
nno feature buildBuild the feature package
nno feature testRun feature tests
nno feature validateCheck NNO compatibility<path> (default: .)
nno feature submitSubmit to NNO Marketplace-m <message>, --private, --dry-run
nno feature statusCheck marketplace submission status[submissionId]
nno feature init my-analytics --no-service   # UI-only feature, no Worker
nno feature dev                               # mock shell at localhost:5100
nno feature dev --platform k3m9p2xw7q        # connect to real platform
nno feature validate                          # checks manifest, types, permissions
nno feature submit -m "Initial release"

nno feature validate checks five rules: package.json exists, "neutrino": {"type": "feature"} is declared, featureManifest is exported, TypeScript compiles without errors, and permission keys follow the {featureId}:{action} format.

Marketplace

CommandDescriptionKey flags
nno marketplace listBrowse the feature catalogue--type core|domain|client, --search <term>
nno marketplace approve <id>Approve a submission (NNO operators only)
nno marketplace reject <id>Reject a submission (NNO operators only)--reason <text>
nno marketplace list --search analytics
nno marketplace list --type domain

Marketplace commands that interact with the NNO CLI Service (submit, approve, reject, status) require authentication (nno login) and the CLI Service to be running.


For the complete flag reference, exit codes, and advanced usage patterns, see CLI Reference.

On this page