Docs
CLI reference
Every nono command, its flags, JSON output support and exit codes.
The nono executable is the developer interface to the verification engine. Every command prints help with nono <command> --help, and nono --version (or -v) prints the version.
Global behaviour#
- Commands operate on the project containing
.nono/config.yaml, searching upwards from the current directory.initanddoctoralso work without one. --jsonwrites a single JSON document to stdout and suppresses human-readable output. Errors are printed as{"error":{"code","message","hint"}}on stdout in JSON mode, and to stderr otherwise.- Human-readable output goes to stdout. The
running <journey>…progress line is shown only in an interactive terminal (stdout is a TTY andCIis not set). - Commands that need confirmation never block without a terminal:
initfalls back to detected defaults, whilebaseline approveandsyncrefuse with an error unless--yesis passed.
Exit codes#
verify and replay use these exit codes; with --all, the worst one wins (2 over 1 over 3 over 0):
| Code | Meaning |
|---|---|
0 |
VERIFIED — all required checks passed |
1 |
FAILED or REGRESSION |
2 |
EXECUTION_ERROR, or the command itself failed (invalid config, unknown journey, bad input) |
3 |
UNVERIFIED — required checks could not be executed |
Any command exits 2 when it fails with an error. init and doctor exit 2 when a check fails. A declined confirmation prompt exits 1.
Setup#
nono init#
nono init [--yes] [--url <baseUrl>] [--integrate <agents>] [--force] [--skip-browser-check] [--json]
Detects the framework, package manager, dev command and existing test tooling; creates .nono/config.yaml, the storage directories and .nono/.gitignore; optionally configures coding agents; test-launches Chromium; prints the next commands. Does not modify application source. In an interactive terminal it asks for the application URL and which agents to configure.
| Flag | Description |
|---|---|
-y, --yes |
Accept detected defaults without prompting. |
--url <baseUrl> |
Application base URL, for example http://127.0.0.1:4400. Defaults to http://localhost:<detected port or 3000>. |
--integrate <agents> |
Comma-separated agents to configure: claude, codex, cursor. Same as running nono integrate for each. |
--force |
Overwrite an existing .nono/config.yaml. Without it, an existing config is kept. |
--skip-browser-check |
Do not test-launch Chromium. |
--json |
Print the detection and initialization result as JSON. |
Exits 2 if the browser check fails.
nono doctor#
nono doctor [--json]
Checks the Node.js version (20.10 or newer), the configuration, that Chromium launches, that .nono/ is writable, that the application responds at target.baseUrl + target.readyPath, that journeys are valid, whether any agent's MCP configuration is present, and whether the project is a git repository. Each problem includes a fix. Exits 2 if any check fails; an unreachable app, missing journeys or missing MCP configuration are warnings.
nono status#
nono status [--json]
Shows the project, application URL, journeys, approved baselines, latest results and missing prerequisites. Equivalent to the MCP tool nono_get_status.
Journeys#
nono journey list#
nono journey list [--json]
Lists journeys in .nono/journeys/ and validates them, printing the error for invalid ones. Equivalent to nono_list_journeys.
nono record#
nono record <journey> [--url <baseUrl>] [--start <path>] [--description <text>] [--json]
Opens a headed Chromium window with a toolbar (Checkpoint, Assert visible, Finish) and records your clicks, fills, selects and key presses. Writes .nono/journeys/<journey>.yaml, or <journey>-recorded.yaml if that file already exists. Sensitive inputs become { env: NAME } references and the variable names are printed. Requires a display and a reachable application. See Journeys.
| Flag | Description |
|---|---|
--url <baseUrl> |
Override the application base URL. |
--start <path> |
Path to open first. Default /. |
--description <text> |
Journey description. |
--json |
Print the result (name, path, step and assertion counts, secrets, warnings) as JSON. |
nono replay#
nono replay [journey] [--all] [--url <baseUrl>] [--profile <name>] [--headed] [--json]
Runs the journey and evaluates its assertions without baseline comparison. Writes a run manifest and Markdown and HTML reports. Takes the same flags as verify.
nono verify#
nono verify [journey] [--all] [--url <baseUrl>] [--profile <name>] [--headed] [--json]
Runs the journey, evaluates assertions and compares the run with the journey's approved baseline. This is the command to use in CI and the one agents call through nono_verify. Pass a journey name or --all.
| Flag | Description |
|---|---|
--all |
Run every valid journey. The exit code is the worst verdict. |
--url <baseUrl> |
Override the base URL for this run. Must be an approved target. |
--profile <name> |
Use profiles.<name>.baseUrl from the config. |
--headed |
Show the browser window. |
--json |
Print the result as JSON. |
With --json and a single journey, the output is the full run manifest plus exitCode and report: { markdown, html } (paths relative to the project root). With --all, it is { "exitCode": <worst>, "runs": [ … ] } with one such object per journey.
Baselines#
nono baseline list#
nono baseline list [--json]
Lists journeys with their current baseline, approval time and approver, number of baseline versions and pending proposals.
nono baseline show#
nono baseline show <journey> [--json]
Shows the baseline referenced by .nono/baselines/<journey>/CURRENT — source run, commit, request signature, checks, checkpoints — and pending proposals.
nono baseline propose#
nono baseline propose <journey> --reason <text> [--run <id>] [--json]
Creates a proposal from a run (default: the latest run of the journey). --reason is required. Proposals are stored in .nono/proposals/<journey>/ and change nothing until approved. Agents can do this through nono_propose_baseline.
nono baseline approve#
nono baseline approve <journey> [--run <id> | --proposal <id>] [--reason <text>] [--yes] [--allow-ci] [--allow-failing] [--json]
Promotes a proposal or a run (default: the latest run of the journey) to a new immutable baseline and updates CURRENT. There is no MCP equivalent: approval is a human action. See Baselines.
| Flag | Description |
|---|---|
--run <id> |
Run to approve. |
--proposal <id> |
Proposal to approve. |
--reason <text> |
Approval note stored in the baseline. |
-y, --yes |
Skip the interactive confirmation. You are asserting that a human approved this. Required without a terminal. |
--allow-ci |
Permit approval when the CI environment variable is set. Refused otherwise. |
--allow-failing |
Approve even if required checks did not pass. |
--json |
Print the new baseline manifest as JSON. |
Runs and reports#
nono runs#
nono runs [--journey <name>] [--limit <n>] [--json]
Lists runs, newest first. --limit defaults to 20. With --json the output is { "runs": [ { "runId", "journey", "mode", "verdict", "startedAt", "durationMs", "commit", "summary" } ] }.
nono diff#
nono diff <runA> <runB> [--json]
Compares two runs: HTTP behaviour, new and resolved browser errors, DOM and screenshot differences per checkpoint, assertion changes and timing. Each argument is a run ID, latest or latest:<journey>. Equivalent to nono_compare_runs.
nono report#
nono report <runId> [--format md|html|json] [--out <file>]
Renders a run as Markdown (default), a standalone HTML report, or the manifest JSON, and prints it to stdout, or writes it to --out. Accepts latest and latest:<journey>. Every run already writes .nono/reports/<runId>.md and .html automatically.
nono dashboard#
nono dashboard [--port <port>] [--host <host>] [--no-open]
Starts the local dashboard over this project's runs, by default at http://127.0.0.1:4319, and opens it in your browser (in an interactive terminal). --port defaults to 4319 and --host to 127.0.0.1; --no-open skips opening the browser. Binding to a non-loopback host exposes your evidence to that network, so only do it deliberately.
nono prune#
nono prune [--days <n>] [--json]
Deletes runs (and their reports) that started more than n days ago, then deletes artifacts no longer referenced by any remaining run. --days defaults to storage.retentionDays (30). Baselines and proposals are never touched; baselines keep their own copies of screenshots and DOM snapshots.
Agent integration#
nono mcp serve#
nono mcp serve [--root <dir>]
Starts the MCP server over stdio. Agents launch this themselves; you rarely run it by hand. The project root is --root, else the NONO_PROJECT_ROOT environment variable, else the current directory. See MCP integration.
nono integrate#
nono integrate <claude|codex|cursor> [--dry-run] [--json]
Writes the agent's MCP configuration and a managed instruction block (claude-code is accepted as an alias for claude). --dry-run reports the planned changes without writing. Re-running is idempotent. See Claude Code, Codex and Cursor.
Hosted sync (optional)#
These commands talk to a hosted nono API. Nothing is uploaded unless you run sync.
nono login#
nono login --api <url> [--token <token>] [--json]
Checks that <url>/health responds, then stores the API URL and a project token (nono_…, created in the hosted dashboard) in $XDG_CONFIG_HOME/nono/credentials.json (default ~/.config/nono/credentials.json, mode 600). --api is required and must use https unless the host is localhost or 127.0.0.1. If --token is omitted, the token is read from NONO_TOKEN. Logging in uploads nothing.
nono logout#
nono logout [--json]
Deletes the stored credentials file.
nono sync#
nono sync [runId] [--latest] [--yes] [--json]
Uploads a sanitized manifest for one run — the given run ID (or latest / latest:<journey>), or the most recent run when no ID or --latest is given. No screenshots, DOM, network data, console output or URLs are sent. Shows what will be uploaded and asks for confirmation unless --yes is passed; without a terminal it refuses unless --yes is passed. Requires nono login first. See Privacy and security.