psql
Official · PostgreSQL
20k
Official PostgreSQL interactive terminal for querying databases, scripting admin tasks, and debugging SQL workflows.
$brew install libpq
Alternatives
redis-cli
Official
Official Redis terminal for running commands, inspecting keys, and debugging Redis-backed systems.
PocketBase
Open source backend in a single file — auth, DB, file storage, admin UI
DuckDB CLI
In-process analytical database — run SQL on CSV, Parquet, JSON files
MongoDB Shell
Official
Official MongoDB shell for querying, scripting, and administering MongoDB deployments from the terminal.
Upstash CLI
Official
Official Upstash CLI for Redis, Kafka, vector, and serverless data workflows from the terminal.
pgcli
PostgreSQL CLI with auto-completion and syntax highlighting.