CLI Tool

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.

terminal — ~/project

$ 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.

CommandDescription
rexadb listList all running and stopped database instances
rexadb start postgresStart a Postgres instance
rexadb stop redisStop a Redis instance
rexadb restart mysqlRestart a MySQL instance
rexadb logs mariadbView logs for a MariaDB instance
rexadb statusShow status of all managed databases
rexadb --helpDisplay help and available commands

Supported databases

Works with every major database engine out of the box.

PostgresPostgres
MySQLMySQL
MariaDBMariaDB
MongoDBMongoDB
RedisRedis
SQLiteSQLite

Stop managing databases manually.

Install rexadb CLI and spin up any database in seconds.