Your databases,one command.
A lightweight CLI for managing local database instances. Start, stop, and manage Postgres, MySQL, MariaDB, MongoDB, Redis, and SQLite with zero configuration.
$ rexadb list
Name Type Status Port
─────────────────────────────────────
my-app postgres ● online 5432
cache redis ● online 6379
analytics mysql ○ stopped
data-lake mongodb ● online 27017
$ ▊
Every database, one tool
Stop juggling Docker commands and brew services. rexadb CLI handles it all.
Multi-DB support
Postgres, MySQL, MariaDB, MongoDB, Redis, SQLite — one CLI for all your local databases.
Zero configuration
No config files. No manual setup. Just install and start your database.
Docker & Podman
Automatically manages Docker or Podman containers for each database instance.
Automatic binary setup
Downloads and manages the right database binaries for your platform.
Multiple instances
Run multiple database versions side-by-side without conflicts.
Service management
Start, stop, restart, and view logs for any database instance.
Install in one line
The CLI is a single Go binary. Run the install script and you are ready to go.
- macOS (arm64 & x64)
- Linux (x64)
- Homebrew formula available
# Install via curl
$ curl -sSfL https://raw.githubusercontent.com/rexadbapp/rexadb/main/scripts/install.sh | sh
# Or via Homebrew
$ brew install rexadbapp/rexadb-cli/rexadb
Commands
Common operations at your fingertips.
| Command | Description |
|---|---|
| rexadb list | List all running and stopped database instances |
| rexadb start postgres | Start a Postgres instance |
| rexadb stop redis | Stop a Redis instance |
| rexadb restart mysql | Restart a MySQL instance |
| rexadb logs mariadb | View logs for a MariaDB instance |
| rexadb status | Show status of all managed databases |
| rexadb --help | Display help and available commands |
Supported databases
Works with every major database engine out of the box.
Stop managing databases manually.
Install rexadb CLI and spin up any database in seconds.