RaisDBRaisDB
CLI

CLI

The `raisdb` command-line tool — query databases, explore schema, sync across engines, and drive AI from your terminal.

The RaiseDB CLI is bundled with the desktop app — no separate install. Open a terminal and it's ready. It reads the same connection store as the desktop app.

Top-level commands

CommandPurpose
raisdb doctorDiagnose environment + connectivity
raisdb connectionsList saved connections
raisdb databasesList databases on a connection
raisdb schemaList tables / describe a table
raisdb queryRun a SQL query
raisdb contextAI-ready schema summary
raisdb shellInteractive SQL REPL
raisdb syncCross-database schema diff + data transfer
raisdb tuiFull-screen TUI browser (see TUI)

Pages

  • Commands — every subcommand in detail
  • Shell — the interactive REPL
  • Scripting — piping, exit codes, env vars

Global flags

FlagPurpose
--config <path>Custom raisdb.db location
--format table | json | csvOutput format (default table)

Environment variables

VarPurpose
RAISDB_CONFIGPath to a custom connection store
RAISDB_CONNECTIONDefault connection name
RAISDB_DATABASEDefault database name

There is no top-level --readwrite flag and no RAISDB_FORMAT env.

Verify it's there

raisdb doctor

Prints your version, the connection store path, and pings every saved connection.

On this page