# Commands Every top-level `nself` command, generated from the cobra registration tree in `cmd/commands/`. Run `make cmd-inventory` to refresh. **Total top-level commands: 74** | Command | Short Description | Group | Subcommands | |---|---|---|---| | `nself account` | Manage your nSelf account, sessions, licenses, team, and devices | — | devices, licenses, login, logout, status, team, transfer | | `nself admin` | Manage the nSelf Admin dashboard | — | connect, health, logs, projects, start, stop | | `nself ai` | Manage the nSelf AI plugin and local LLM stack | — | chat, local, pool | | `nself ai-studio` | Google AI Studio integration for local nSelf instances | — | bridge | | `nself alerts` | Manage Prometheus alert rules and silences | — | list, silence, test | | `nself api` | API versioning and deprecation tooling for operators | — | changelog, deprecation-check, version | | `nself backup` | Backup operations: create, list, restore, verify, prune, config, status, init-key | — | config, create, drill, init-key, list, prune, restore, restore-remote, resume, schedule, status, stream, verify | | `nself billing` | Billing operations: usage, invoice-preview, report, retry-event | — | invoice-preview, report, retry-event, usage | | `nself build` | Compose your infrastructure from .env | — | — | | `nself bundle` | Manage and inspect nSelf plugin bundles | — | info, install, list, remove | | `nself ci` | Run the nself-ci gate suite and post a GitHub commit status | — | eval, forgejo, serve | | `nself clean` | Remove generated artifacts (docker-compose.yml, nginx configs, build cache) | — | — | | `nself completion` | Generate shell completion scripts | — | — | | `nself config` | Manage project configuration | — | export, get, import, list, set, show, validate | | `nself db` | Database operations: migrations, backups, restore, seed, shell | — | backup, backup-sync, backup-sync-status, drift, drop, fk-index, hasura, lint, list, migrate, pgbouncer, pitr, reset, reset-checksum, restore, restore-drill, restore-drill-list, rls, seed, shell, soft-delete, verify-checksums | | `nself deploy` | Deploy the stack to a target environment | — | check-access, environments, health, logs, promote, rollback, status, web | | `nself dev` | Start development environment | — | — | | `nself dns-setup` | Add project domains to /etc/hosts (run with sudo) | — | — | | `nself doctor` | Run comprehensive system diagnostics | — | — | | `nself dr` | Disaster recovery operations: drill, promote-standby, reconfigure-dns, rollback, fence | — | drill, fence, promote-standby, reconfigure-dns, rollback | | `nself env` | Multi-environment management: switch, list, diff, copy | — | copy, diff, list, show, target, use | | `nself exec` | Execute a command inside a service container | — | — | | `nself feature` | Manage CLI-built-in feature flags | — | disable, enable, list, status | | `nself flag` | Manage feature flags | — | disable, enable, get, history, kill, list, prune, set | | `nself functions` | Manage serverless functions | — | delete, deploy, invoke, list, logs | | `nself generate` | Generate type-safe client SDK types from the live Hasura schema | — | — | | `nself health` | Health check management with continuous monitoring | — | check, config, endpoint, history, service, watch | | `nself help-topics` | Browse help topics (quickstart, plugins, license, envs, doctor, errors) | — | — | | `nself infra` | Provision nSelf infrastructure via Terraform | — | apply, destroy, plan | | `nself init` | Initialize a new nSelf project | — | — | | `nself license` | Manage license keys for nSelf product bundles | — | add, clear, export, health, import, list, migrate, refresh, remove, restore, revalidate, revoke, set, show, simulate-offline, status, tail, upgrade, validate | | `nself login` | Log in to your nSelf account | — | — | | `nself logout` | Log out of your nSelf account | — | — | | `nself logs` | View and filter service logs | — | — | | `nself maintenance` | Maintenance utilities: disk cleanup, scheduler | — | disk-cleanup, schedule, status | | `nself man` | Generate man pages for all nself commands | — | — | | `nself mcp` | Start the nSelf MCP server | — | — | | `nself migrate` | Detect and migrate legacy artifacts to the current nSelf version | — | detect, firebase, from-bash, generate, rollback, run, supabase, watch | | `nself migrate-from-v099` | Migrate v0.9.9 home-level state (license key, channel, ssh keys) to v1.x layout | — | — | | `nself model` | Manage local AI models via Ollama | — | benchmark, list, pull, remove, update | | `nself monitor` | Monitoring stack management | — | upgrade-dashboards | | `nself oauth` | Manage OAuth provider tokens | — | refresh | | `nself ops` | Ops-profile deployment and management | — | deploy | | `nself pitr` | Point-in-time recovery: enable, disable, status, base-backup, restore | — | base-backup, disable, enable, restore, status | | `nself plugin` | Manage nSelf plugins | — | audit-tables, compat-check, debug, dev, disable, enable, info, init, install, inventory, link, list, logs, marketplace, new, refresh, remove, search, start, status, stop, submit, test, unlink, update, updates | | `nself promote` | Promote one environment to another (e.g. staging to prod) | — | rollback | | `nself queue` | Manage async job queues (pg-boss) | — | cron, jobs, list, purge, retry | | `nself region` | Manage multi-region nSelf deployments | — | add, list, promote, status | | `nself release` | Orchestrate the full release cascade for a version | — | — | | `nself release-check` | Run pre-release gates for a version | — | — | | `nself release-rollback` | Roll back a release to prior version | — | — | | `nself release-status` | Show running version vs latest across all release artifacts | — | — | | `nself reset` | Stop containers, remove all data volumes, and clean generated files | — | — | | `nself restart` | Smart restart with config change detection | — | — | | `nself secrets` | Manage encrypted project secrets (age encryption) | — | audit, decrypt-on-deploy, edit, get, init, lint, list, list-schedules, rekey, retire, rotate, rotation-log, schedule, set, verify | | `nself security` | Server security: audit, setup, and status | — | audit, setup, status | | `nself self-heal` | Run targeted self-healing routines for nSelf components | — | — | | `nself sentry` | ɳSentry ops: status, alerts, and observability | — | alerts, incidents, login, logout, monitors, status, status-pages, whoami | | `nself sentry-server` | Provision and manage ɳSentry ops servers | — | provision | | `nself service` | Manage optional services | — | add, configure, disable, enable, list, ps, restart, scale, start, stop, update, upgrade | | `nself ssl` | Manage SSL certificates | — | add, renew, setup, status | | `nself start` | Boot your nSelf stack | — | — | | `nself status` | Show health status of all services | — | — | | `nself stop` | Gracefully shut down all services or specific services | — | — | | `nself telemetry` | Manage CLI telemetry preferences | — | off, on, status | | `nself template` | Browse and publish full-stack app templates | — | info, list, publish, update | | `nself tenant` | [PREVIEW] Tenant management: create, upgrade, suspend, destroy, audit | — | audit, create, destroy, suspend, upgrade | | `nself trust` | Set up local dev trust (DNS, SSL, port forwarding) | — | status | | `nself uninstall` | Remove nSelf project data and generated files | — | — | | `nself update` | Update the nSelf CLI and admin UI | — | images | | `nself upgrade` | Upgrade the nSelf CLI (detects install method) | — | — | | `nself urls` | Display all service URLs with route conflict detection | — | — | | `nself verify-sbom` | Verify the SBOM signature for a CLI release | — | — | | `nself version` | Show version and system information | — | — | | `nself webhooks` | Manage webhook processing and outbox | — | outbox | --- [[Home]] · [[CLI-Reference]] · [[Plugin-Overview]] ## Complete index Generated from the cobra registration tree in `cmd/commands/`. Run `make cmd-inventory` to refresh. **Total top-level commands: 52** | Command | Short Description | Group | Subcommands | |---|---|---|---| | `nself access` | Manage SSH key access on an already-deployed server | advanced | grant, list, revoke | | `nself account` | Manage your nSelf account, sessions, licenses, team, and devices | account | devices, licenses, login, logout, status, team, transfer | | `nself admin` | Manage the nSelf Admin dashboard | account | connect, health, logs, projects, start, stop | | `nself backup` | Backup operations: create, list, restore, verify, prune, config, status, init-key | data | config, create, drill, init-key, list, pitr, prune, restore, restore-remote, resume, schedule, status, stream, verify | | `nself build` | Compose your infrastructure from .env | core | — | | `nself bundle` | Manage and inspect nSelf plugin bundles | extend | info, install, list, remove | | `nself ci` | Run the nself-ci gate suite and post a GitHub commit status | deploy | build, eval, forgejo, serve | | `nself clean` | Remove generated artifacts (docker-compose.yml, nginx configs, build cache) | core | — | | `nself completion` | Generate shell completion scripts | account | — | | `nself config` | Manage project configuration | config | export, features, get, import, list, set, show, validate | | `nself db` | Database operations: migrations, backups, restore, seed, shell | data | backup, backup-sync, backup-sync-status, drift, drop, fk-index, hasura, lint, list, migrate, pgbouncer, pitr, reconcile, reset, reset-checksum, restore, restore-drill, restore-drill-list, rls, seed, shell, soft-delete, verify, verify-checksums | | `nself deploy` | Deploy the stack to a target environment | deploy | check-access, environments, health, logs, promote, rollback, status, web | | `nself dev` | Start development environment | core | — | | `nself doctor` | Run comprehensive system diagnostics | core | — | | `nself env` | Multi-environment management: switch, list, diff, copy | config | copy, diff, explain, list, show, target, use | | `nself exec` | Execute a command inside a service container | core | — | | `nself functions` | Manage serverless functions | data | delete, deploy, invoke, list, logs | | `nself generate` | Generate type-safe client SDK types from the live Hasura schema | config | — | | `nself health` | Health check management with continuous monitoring | observe | check, config, endpoint, history, service, watch | | `nself help-topics` | Browse help topics (quickstart, plugins, license, envs, doctor, errors) | account | — | | `nself init` | Initialize a new nSelf project | core | — | | `nself install` | Install a plugin or bundle | extend | — | | `nself license` | Manage license keys for nSelf product bundles | extend | add, clear, export, health, import, list, migrate, refresh, remove, restore, revalidate, revoke, set, show, simulate-offline, status, tail, upgrade, validate | | `nself login` | Log in to your nSelf account | account | — | | `nself logout` | Log out of your nSelf account | account | — | | `nself logs` | View and filter service logs | core | — | | `nself man` | Generate man pages for all nself commands | account | — | | `nself mcp` | Start the nSelf MCP server | extend | — | | `nself migrate` | Detect and migrate legacy artifacts to the current nSelf version | data | detect, firebase, from-bash, from-v099, generate, rollback, run, supabase, watch | | `nself oauth` | Manage OAuth provider tokens | account | refresh | | `nself ops` | Ops-profile deployment and management | deploy | deploy | | `nself plugin` | Manage nSelf plugins | extend | audit-tables, compat-check, count, debug, dev, disable, enable, info, init, install, inventory, link, list, logs, marketplace, new, outdated, refresh, remove, search, start, status, stop, submit, test, unlink, update, updates | | `nself promote` | Promote one environment to another (e.g. staging to prod) | deploy | rollback | | `nself remove` | Remove an installed plugin or bundle | extend | — | | `nself reset` | Stop containers, remove all data volumes, and clean generated files | core | — | | `nself restart` | Smart restart with config change detection | core | — | | `nself runner` | Provision and audit self-hosted GitHub Actions CI runner hosts | advanced | provision, verify | | `nself secrets` | Manage encrypted project secrets (age encryption) | config | audit, decrypt-on-deploy, edit, get, init, lint, list, list-schedules, rekey, retire, rotate, rotation-log, schedule, set, verify | | `nself security` | Server security: audit, setup, and status | advanced | audit, setup, status | | `nself self-heal` | Run targeted self-healing routines for nSelf components | observe | — | | `nself server` | Provision, list, resize, and destroy Hetzner Cloud servers | advanced | destroy, list, provision, resize | | `nself service` | Manage optional services | config | add, configure, disable, enable, list, ps, restart, scale, start, stop, update, upgrade | | `nself start` | Boot your nSelf stack | core | — | | `nself status` | Show health status of all services | core | — | | `nself stop` | Gracefully shut down all services or specific services | core | — | | `nself telemetry` | Manage CLI telemetry preferences | account | off, on, status | | `nself template` | Browse and publish full-stack app templates | config | info, list, publish, update | | `nself trust` | Set up local dev trust (DNS, SSL, port forwarding) | config | dns, ssl, status | | `nself update` | Update the nSelf CLI and admin UI | account | images, upgrade | | `nself urls` | Display all service URLs with route conflict detection | core | — | | `nself verify-sbom` | Verify the SBOM signature for a CLI release | advanced | — | | `nself version` | Show version and system information | account | — | --- ← [[Home]] | [[_Sidebar]]