Complete reference for all 31 top-level ɳSelf CLI commands with 295+ subcommands. After v0.9.6's command consolidation, ɳSelf now features a clean, hierarchical command structure organized by domain.
| Category | Commands | Description | Version |
|---|---|---|---|
| Core | 5 | init, build, start, stop, restart | v0.1.0+ |
| Utilities | 15 | status, logs, help, admin, urls, exec, doctor, monitor, health, version, update, completion, metrics, history, audit | v0.1.0+ |
| Database | 14 | migrate, schema, seed, mock, backup, restore, shell, query, types, inspect, optimize, vacuum, reindex, pgbench | v0.3.9+ |
| Multi-Tenancy | 60+ | Tenant management, billing, branding, custom domains, compliance (GDPR/HIPAA/SOC2) | v0.9.0+ |
| Authentication | 38 | OAuth (13 providers), MFA, roles, devices, webhooks, security | v0.9.0+ |
| Service Management | 43 | email, search, storage, cache, functions, mlflow, admin-dev | v0.4.2+ |
| Deployment | 23 | staging, production, preview, canary, blue-green, server, sync | v0.4.3+ |
| Infrastructure | 38 | provider (26+ clouds), k8s, helm, server management | v0.4.5+ |
| Configuration | 20 | env, secrets, vault management | v0.4.3+ |
| Performance | 5 | profiling, benchmarking, scaling, optimization | v0.4.6+ |
| Backup & Recovery | 6 | backup, restore, snapshots, scheduling | v0.3.8+ |
| Developer Tools | 16 | scaffolding, templates, CI/CD generation | v0.4.2+ |
| Plugins | 8 | Stripe, GitHub, Shopify integrations | v0.4.8+ |
Many top-level commands have been reorganized as subcommands. Old commands still work but show deprecation warnings:
ɳSelf billing → nself tenant billingnself cloud → nself provider (renamed)ɳSelf oauth → nself auth oauthɳSelf mfa → nself auth mfanself storage → nself service storagenself email → nself service emailAll deprecated commands will be removed in v1.0 (estimated Q2 2026).
Essential project lifecycle operations:
nself init - Initialize new ɳSelf project with configuration wizardnself build - Generate Docker Compose configs, Nginx configs, and service filesnself start - Start all services or specific servicesnself stop - Stop all services or specific servicesnself restart - Restart all services or specific servicesDay-to-day development tools:
nself status - Service health and statusnself logs - View service logsnself help - Help systemɳSelf admin - Admin UI accessnself urls - Service URLsnself exec - Execute commands in containersnself doctor - System diagnosticsnself monitor - Monitoring dashboardsnself health - Health checksnself version - Version informationnself update - Update ɳSelfnself completion - Shell completionsnself metrics - Metrics and profilingnself history - Command history and audit trailɳSelf audit - Security audit loggingDomain-specific functionality with rich subcommands:
nself db migrate - Database migrationsnself db schema - Schema managementnself db seed - Seed datanself db backup - Create backupsnself db restore - Restore from backupnself db shell - PostgreSQL shellnself db query - Execute SQL queriesnself db types - Generate TypeScript/Go/Python typesnself tenant create - Create new tenantnself tenant list - List all tenantsnself tenant billing - Billing managementnself tenant branding - White-label brandingnself tenant domains - Custom domain managementnself tenant compliance gdpr - GDPR compliance (v0.9.7)nself tenant compliance hipaa - HIPAA compliance (v0.9.7)nself tenant compliance soc2 - SOC2 compliance (v0.9.7)nself deploy staging - Deploy to stagingnself deploy production - Deploy to productionnself deploy preview - Ephemeral preview environmentsnself deploy canary - Percentage-based rolloutnself deploy blue-green - Zero-downtime deploymentnself deploy server - VPS lifecycle managementnself deploy sync - Environment synchronizationɳSelf infra provider - 26+ cloud providers (v0.9.6: renamed from "cloud")ɳSelf infra k8s - Kubernetes managementɳSelf infra helm - Helm chart managementɳSelf infra provider server create - Provision VPSɳSelf infra provider cost estimate - Cost estimationnself service email - Email configuration (16+ providers)nself service search - Search engine setup (6 engines)nself service storage - MinIO storage managementnself service cache - Redis cache operationsnself service functions - Serverless functionsnself service mlflow - ML experiment trackingnself service admin-dev - Admin UI development modenself config env - Environment managementnself config secrets - Secrets managementnself config vault - Vault integration (v0.9.7)nself config vault init - Initialize secrets vaultnself config vault rotate - Rotate secretsnself auth oauth - OAuth provider management (13 providers)nself auth mfa - Multi-factor authenticationnself auth roles - Role managementnself auth devices - Device managementnself auth webhooks - Authentication webhooksnself auth security - Security hardeningnself perf profile - Performance profilingnself perf bench - Benchmarkingnself perf scale - Auto-scalingnself perf optimize - Optimization recommendationsnself backup create - Create backupnself backup restore - Restore from backupnself backup list - List backupsnself backup schedule - Schedule automated backupsɳSelf dev scaffold - Scaffold new servicesɳSelf dev templates - Template managementɳSelf dev ci - CI/CD workflow generationɳSelf dev docs - Documentation generationnself plugin list - List available pluginsnself plugin install - Install plugin (Stripe, GitHub, Shopify)nself plugin remove - Remove pluginnself plugin update - Update pluginsnself plugin status - Plugin statusSafe destruction of project infrastructure with configurable scope and safety features:
ɳSelf destroy - Interactive destruction (safest)ɳSelf destroy --dry-run - Preview what would be destroyedɳSelf destroy --keep-volumes - Preserve data volumesɳSelf destroy --containers-only - Only remove containersFor detailed documentation on each command, use ɳSelf <command> --help or visit our individual command pages.