Complete reference for every nself top-level command.
Auto-generated from SPORT F02-COMMAND-INVENTORY and cli/.github/wiki/cmd-*.md on 2026-04-18. Counts: 47 top-level commands, 25 with wiki, 22 wiki-missing.
> Open the nSelf Admin UI in your browser.
Subcommands: connect <host>, projects (subgroup: list, add, remove <id>)
> Generate `docker-compose.yml`, nginx configs, and SSL certificates from `.env`.
> Remove Docker resources associated with the current nSelf project.
> Generate shell completion scripts.
Subcommands: (positional: bash|zsh|fish|powershell)
> View and manage project configuration.
Subcommands: show, get <key>, set <key> <value>, list, validate, export, import <file>
> Database operations: migrations, backups, restore, seed, and shell.
Subcommands: migrate (subgroup: up, down, status, create <name>, verify-checksums, reset-checksum <id>), seed (subgroup: run, list, verify, graph), backup [file], restore <file>, shell, drop, reset, list, hasura (subgroup: console, metadata → apply, export, reload, diff, validate, lint)
> Run full system diagnostics.
Subcommands: (single command, ~14 internal checks; AI report opt-in via doctor_ai)
> Execute a command inside a running service container.
Subcommands: (positional: <SERVICE> [COMMAND...])
> Health check management with continuous monitoring.
Subcommands: check, service <name>, endpoint <url>, watch, history, config
> Initialize a new nSelf project with an interactive configuration wizard.
> Manage your nSelf Pro membership license key.
Subcommands: set <key>, add <key> [key...], remove <key-or-product>, status, list, show, validate, clear, upgrade, refresh, export, import <file>, migrate, simulate-offline <days>
> View and filter service logs with color and formatting.
Subcommands: (single command, accepts [SERVICE])
> Detect and migrate nSelf v0.x artifacts to v1.0.0.
Subcommands: detect, run, rollback
> Install, remove, update, and manage nSelf plugins.
Subcommands: list, install <name>, remove <name>, update [name], updates, refresh, start <name>, stop <name>, disable <name>, enable <name>, status [name], inventory, info <name>, new <name>, submit [path]
> Stop containers and remove generated configuration files.
> Smart restart with config change detection.
Subcommands: (single command, [SERVICES...])
Security audit, setup, and status commands for hardening your nSelf deployment.
Subcommands: audit, status, setup
> Enable, disable, and list optional nSelf services.
Subcommands: list, enable <name>, disable <name>
> Manage SSL certificates for nSelf services and custom domains.
Subcommands: status, renew [domain], setup, add <domain>
> Boot the nSelf stack with health checks and automatic database initialization.
> Show health status of all services.
Subcommands: (single command, [SERVICE])
> Gracefully shut down all services or specific named services.
Subcommands: (single command, [SERVICES...])
> Update the nSelf CLI binary and admin UI.
Subcommands: images
> Display all service URLs with route conflict detection.
> Show version and system information.
> Manage the nSelf AI plugin and local LLM stack.
Subcommands: local, install, models (subgroup: list, add <model>, remove <model>, recommend), health, swap <model>, benchmark [model], chat <message>, pool (subgroup: init, status, provision, add, remove, rotate, test, daily-reset)
> Manage Prometheus alert rules and silences.
Subcommands: list, silence <alert-name>, test <alert-name>
> Backup operations: create, list, restore, verify, prune, config, status, init-key.
Subcommands: create, list, restore <backup-id|latest>, verify <backup-id|latest>, prune, config, status, init-key
> Billing operations: usage, invoice-preview, report, retry-event.
Subcommands: usage <tenant-id>, invoice-preview <tenant-id>, report, retry-event <id>
> Manage nClaw AI assistant.
Subcommands: pair, unlock, chat, config (subgroup: set <key> <value>), keys (subgroup: create, revoke <id>), mcp, memories (subgroup: search <query>), topics (subgroup: search <query>), status, prompt [question], proxy [port], export
> Start development environment.
> Add project domains to /etc/hosts (run with sudo).
> Production dogfood audit and reporting.
Subcommands: audit, report
> Alias for `nself stop`. Shuts down the nSelf stack.
Subcommands: (hidden alias for nself stop)
> Disaster recovery operations: drill, promote-standby, reconfigure-dns, rollback, fence.
Subcommands: drill, promote-standby, reconfigure-dns, rollback, fence
> Multi-environment management: switch, list, diff, copy.
Subcommands: use <env>, list, show, diff <env-a> <env-b>, copy <from> <to>
> Monitoring stack management.
Subcommands: upgrade-dashboards
> Promote one environment to another (e.g. staging to prod).
Subcommands: (positional: <source> <target>), rollback
> Manage async job queues (pg-boss).
Subcommands: list, jobs <queue>, retry <job-id>, purge <queue>, cron (subgroup: list)
> Manage encrypted project secrets (age encryption).
Subcommands: init, set <KEY> [VALUE], get <KEY>, list, edit, rotate <KEY>, retire <KEY>, schedule, decrypt-on-deploy, audit, lint, rekey --remove <pubkey>
> Tenant management: create, upgrade, suspend, destroy, audit.
Subcommands: create <slug>, upgrade <slug>, suspend <slug>, destroy <slug>, audit <tenant-id>
> Set up local dev trust (DNS, SSL, port forwarding).
> Alias for `nself start`. Boots the nSelf stack.
Subcommands: (hidden alias for nself start)
> Upgrade the nSelf CLI (detects install method).
> Manage the Web Application Firewall (Coraza + OWASP CRS).
Subcommands: enable, mode <detection|blocking>, report
> Self-healing container watchdog with circuit breaker.
Subcommands: status, reset-breakers, history, test-alert
> Manage webhook processing and outbox.
Subcommands: outbox, status