Self-host quickstart
Run Nimbus as a server and talk to it over plain HTTP. No codegen, no schema
files, no Node.js — curl is enough.
1. Install Nimbus
Section titled “1. Install Nimbus”brew install nimbus/tap/nimbusOther platforms ship via the install script and release binaries — see the install options.
2. Start the server
Section titled “2. Start the server”nimbus start --port 8080 --data-dir ./dataThe server binds to localhost by default and persists to ./data with the
embedded SQLite backend.
3. Grab the admin token
Section titled “3. Grab the admin token”The native API is protected by a local admin token, created on first boot and stored as a JSON file:
# Linuxexport NIMBUS_TOKEN=$(jq -r .token ~/.local/share/nimbus/auth/token)
# macOSexport NIMBUS_TOKEN=$(jq -r .token "$HOME/Library/Application Support/nimbus/auth/token")On Windows the file is %LOCALAPPDATA%\nimbus\auth\token.json. Requests
without the token get a 401.
4. Create a tenant
Section titled “4. Create a tenant”curl -s -X POST http://localhost:8080/api/tenants \ -H "Authorization: Bearer $NIMBUS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"id": "demo"}'5. Insert a document
Section titled “5. Insert a document”curl -s -X POST http://localhost:8080/api/tenants/demo/documents \ -H "Authorization: Bearer $NIMBUS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"table": "messages", "fields": {"text": "hello world", "author": "you"}}'6. Query it back
Section titled “6. Query it back”curl -s -X POST http://localhost:8080/api/tenants/demo/query \ -H "Authorization: Bearer $NIMBUS_TOKEN" \ -H "Content-Type: application/json" \ -d '{"table": "messages", "filters": []}'nimbus start runs the same engine as nimbus dev without codegen. The
native HTTP/WebSocket API is the front door here; the MongoDB, DynamoDB, and
Firestore-compatible surfaces have their own enablement stories — see the
per-adapter guides under Developers.
Next steps
Section titled “Next steps”- Native API guide — tenants, documents, queries, and live subscriptions over WebSocket, from any language.
- Operators — production deployment, tenants, storage backends (Postgres, MySQL, libSQL, redb), encryption at rest, networking, and observability.
- Reference — every
nimbus startflag and the native HTTP/WebSocket API.