SpinDB (v0.48.1) is a zero-configuration, Docker-free local database management tool that packages 21 database engines (PostgreSQL, MySQL, MariaDB, SQLite, DuckDB, MongoDB, FerretDB, Redis, Valkey, ClickHouse, Qdrant, Meilisearch, CouchDB, CockroachDB, SurrealDB, QuestDB, TypeDB, InfluxDB, Weaviate, TigerBeetle, LibSQL) into a single CLI. It runs directly on macOS, Linux, and Windows without Docker or VMs, providing commands to create, start, connect, run SQL/shell, backup, and clone databases. The tool persists data in ~/.spindb and exposes connection URLs. It is licensed under PolyForm Noncommercial and requires Node.js >=22 and pnpm >=8. Key differentiators include broad engine support, simple CLI, and no external dependencies like Docker.
npm install spindbVerified import paths — ran on the pinned version, not inferred.
Installs SpinDB globally, creates and connects to a PostgreSQL database, runs a query, and creates a backup.
Upgrade Node.js to >=22 (LTS).
On Windows, use FerretDB v1 explicitly with --ferretdb-version 1, or use MongoDB engine instead.
Backup regularly; use spindb backup before deleting ~/.spindb.
Use 'spindb run mydb -c "SQL"' instead of 'spindb run mydb SQL'.
Install WSL and run the spindb commands inside WSL, or use a different engine.
Contact the author for commercial licenses; do not use in paid products without permission.
Use 'npm install -g spindb' without sudo, or configure npm prefix to user directory.
Run 'sudo npm install -g spindb' or configure npm prefix: 'npm config set prefix ~/.npm-global' then add to PATH.
Add npm global bin to PATH: export PATH=$(npm bin -g):$PATH (Linux/macOS) or use npx spindb.
Upgrade Node.js to v22 or later; use nvm or download from nodejs.org.
Use 'spindb create mydb --port 5433' to assign a different port, or stop the existing service on 5432.
Check internet connection or proxy; set HTTP_PROXY if behind corporate firewall.