Getting Started
Complete Backend Stack
The nself CLI deploys everything you need for a modern application:
Based on Nhost.io, the open-source Firebase alternative. With nself, you get the same powerful stack on your own infrastructure.
Deploy a feature-complete backend infrastructure on your own servers with PostgreSQL, Hasura GraphQL, Redis, Auth, Storage, and optional microservices. Works seamlessly across local development, staging, and production with automated SSL, smart defaults, and production-ready configurations.
Based on Nhost.io for self-hosting! Copy the below command in Terminal to install and get up and running in seconds!
curl install.nself.org | bashCreated by Aric Camarata
The nself CLI deploys everything you need for a modern application:
Based on Nhost.io, the open-source Firebase alternative. With nself, you get the same powerful stack on your own infrastructure.
Update now: nself update or install via curl -sSL https://install.nself.org | bash
Quick start: nself init, nself admin enable, nself build, nself start
Still just 3 commands to get started: nself init, nself build, nself start
Update now: Run nself update for enhanced stability and fixes
nself start and nself stop for intuitive controlup and down commands still work perfectlyUpdate now: Run nself update - Your existing scripts will continue working!
Update now: Run nself update then nself trust for green lock support
Update now: Run nself update for enhanced stability
Enhanced experience: Configuration errors are now caught and fixed automatically
Upgrade: Run nself update to get v0.3.0
View Migration Guide
nself email setup guides you through provider configurationGet started: Run nself email setup for guided configuration
nself trust and nself diff commands for better development workflowTry it: Run nself trust to enable SSL certificate trust
nself update to get the latest versionUpdate now: Run nself update to get these improvements
Installation & Update Guide
ENV variable (dev/prod) with backward compatibility for ENVIRONMENTDB_ENV_SEEDS option follows Postgres/Hasura standardscommon/, development/, production/ directoriesENV=prodnself db command suite with schema-first development using DBMLFirst public release of nself, bringing the power of Nhost.io to self-hosted environments. This release includes:
.env.local configurationnself prod commandnself was born from a simple need: deploy production-ready backend infrastructure without the complexity and vendor lock-in of traditional BaaS platforms.
Our mission is to make self-hosting as simple as using a managed service, while giving you complete control over your data, infrastructure, and costs. Whether you're a startup building your MVP, an agency deploying for clients, or an enterprise requiring data sovereignty, nself provides the tools you need.
Built on the foundation of Nhost.io's proven architecture, nself brings enterprise-grade backend infrastructure to everyone. No more choosing between convenience and control - with nself, you get both.
Install nself with our simplified command:
curl -sSL https://install.nself.org | bash
Alternative installation methods available in the installation guide
Once installed, create your first project:
nself init # Initialize project
nself build # Generate configuration
nself up # Start everything!
Your complete backend is now running with SSL at *.local.nself.org (mapped to 127.0.0.1).
Command | Description |
|---|---|
nself init | v0.3.9 Initialize with minimal setup (--full, --wizard, --admin options) |
nself build | Generate project structure and configurations |
nself start | v0.3.6 Start all services (recommended primary command) |
nself stop | v0.3.6 Stop all running services (recommended primary command) |
nself up | Start all services (alias for compatibility) |
nself down | Stop all running services (alias for compatibility) |
nself restart | Restart all services (down + up) |
nself clean | v0.3.3 Clean up Docker resources (images, containers, volumes, networks) |
nself admin | v0.3.9 Web-based admin UI at localhost:3100 (enable, password, open) |
nself db | v0.3.9 Interactive database operations menu (25+ subcommands) |
nself db run | v0.2.0 Generate migrations from schema.dbml |
nself db migrate:up | v0.2.0 Apply pending migrations |
nself db seed | v0.2.0 Seed database with environment data |
nself db backup | v0.2.0 Create database backup |
nself prod | Create production .env from .env.local |
nself reset | Delete all data and configurations |
nself email setup | v0.2.4 Interactive wizard for email provider configuration |
nself trust | v0.3.5 Install SSL certificate for green lock in browsers |
nself ssl | v0.3.5 SSL certificate management (bootstrap, renew, status) |
nself diff | v0.2.3 Show configuration differences |
nself update | v0.2.2 One-command update with rollback safety |
nself doctor | v0.3.2 System health checks with enhanced auto-fix capabilities |
nself status | v0.3.2 Real-time service health monitoring with improved reliability |
nself validate | v0.3.8 Advanced configuration validation with auto-fix capabilities |
nself exec | v0.3.8 Secure container command execution with environment injection |
nself metrics | v0.3.8 Comprehensive metrics collection with Prometheus/Datadog integration |
nself monitor | v0.3.8 Live monitoring dashboard with real-time service health |
nself scale | v0.3.8 Intelligent resource scaling with CPU/memory control |
nself rollback | v0.3.8 Comprehensive rollback system for version, database, and configuration |
nself backup | v0.3.8 Advanced backup system with 10+ subcommands, S3 support, automated retention |
nself functions | v0.3.9 Serverless functions management (create, deploy, test, logs) |
nself mlflow | v0.3.9 ML experiment tracking and model registry (localhost:5000) |
nself deploy | partial SSH deployment to VPS (full automation in v0.4.0) |
nself search | partial Enterprise search with 6 engines (full integration in v0.4.0) |
nself has a dedicated QA team that ensures the highest quality for every release:
Found an issue? Report it on GitHub Issues - Our QA team will verify and track it to resolution.