From zero to your first GraphQL query in under 5 minutes. v1.0.12
The fastest path (3 commands):
curl -sSL https://install.nself.org | bash
nself init my-app && cd my-app
nself startThen open https://api.local.nself.org for your GraphQL console.
Before you begin, make sure you have:
That's it. ɳSelf will automatically install Docker, Docker Compose, and any other required dependencies.
Run this single command to install the ɳSelf CLI:
curl -sSL https://install.nself.org | bashThe installer will:
~/.nself/binCreate a new directory for your project and initialize ɳSelf:
mkdir my-backend && cd my-backend
nself initYou'll be asked a few questions (or accept defaults):
local.nself.org)What gets created:
my-backend/
├── .env # Your configuration
├── .env.secrets # Sensitive credentials (auto-generated)
└── ɳSelf/ # Project directorynself build # Generate docker-compose.yml, nginx configs, etc.
nself start # Launch all servicesFirst start takes 2-3 minutes (downloading Docker images). Subsequent starts are under 10 seconds.
Check status:
nself status # Service health
nself urls # Access URLsɳSelf uses a database-first approach. Design your schema, and everything else follows.
schema.dbml in your projectnself db sample # Creates sample tables in your databasenself db migrate # Generate migration from current schema state
nself db update # Apply pending migrationsExtend ɳSelf with 25 free plugins and 87 paid plugins for AI, notifications, scheduling, video, payments, and more. Use nself plugin list to see available plugins. Pro plugins require an active membership ($0.99/mo per bundle or $3.99/mo for ɳSelf+). See nself.org/pricing for details.
For HTTPS to work without browser warnings:
nself trust| Service | URL | Description |
|---|---|---|
| GraphQL API | https://api.local.nself.org | Hasura console + API |
| Auth | https://auth.local.nself.org | Authentication service |
| Admin | https://admin.local.nself.org | Admin dashboard (if enabled) |
https://mail.local.nself.org | Email testing UI (if enabled) |
# Check all URLs
nself urls
# View logs
nself logs
# Database shell
nself db shell
# Generate TypeScript types from your live schema
nself generate --lang typescript# Create production environment
nself env create prod production
# Edit server configuration
# .environments/prod/server.json
# Deploy
nself deploy prodSee Deployment Guide for complete instructions.
Edit .env and add:
# Enable Redis
REDIS_ENABLED=true
# Enable MinIO (S3 storage)
MINIO_ENABLED=true
# Enable search
MEILISEARCH_ENABLED=true
# Enable monitoring (10 services)
MONITORING_ENABLED=true
# Enable admin dashboard
NSELF_ADMIN_ENABLED=trueThen rebuild:
nself build && nself restartExtend ɳSelf with 87 plugins:
# List available plugins
nself plugin list
# Install free plugins (no membership needed)
nself plugin install analytics
nself plugin install stripe
# Install Pro plugins (requires active membership)
nself plugin install notify
nself plugin install cronFree plugins work without a membership key. Pro plugins require an active membership ($0.99/mo per bundle or $3.99/mo for ɳSelf+). Visit nself.org/pricing to get started.
nself start # Start services
nself stop # Stop services
nself restart # Restart services
nself status # Check health
nself logs # View all logs
nself logs postgres # View specific servicenself db migrate up # Run migrations
nself db migrate create NAME # Create migration
nself db seed # Seed data
nself db backup # Create backup
nself db restore # Restore backup
nself db shell # PostgreSQL shell
nself generate --lang typescript # Generate typesnself build # Regenerate configs
nself urls # Show all URLs
nself doctor # Diagnose issues
nself reset # Reset to clean statenself plugin list # Show available plugins
nself plugin install stripe # Install a plugin
nself plugin status # Check plugin health
nself plugin uninstall stripe # Remove a plugindocker psnself logsnetstat -tulpn | grep LISTENdocker ps | grep postgres.env.localnself reset (deletes all data)nself statusReady to dive deeper? Check out our Architecture Overview to understand how everything works together.