Intent-based stack
CLI stack for Inspect my Postgres schema, show the key tables, and answer questions with read-only queries first..
harlequin is a strong fit for data & db. harlequin responds locally and is ready for the first real command. Use this page as a permalink for humans, agents, and runbooks.
harlequin fits data & db well, especially for Exploring local SQL visually when a prompt-only shell is too cramped.
A solid pick from Ted Conbeer.
Verify with `harlequin --version` first.
Install
brew install harlequinVerify
harlequin --versionRecommended stack
Alternatives
pgcli
Choose this if you care more about postgres shell, autocomplete, and readable results from the terminal.
usql
Choose this if you care more about universal sql shell, multiple databases, and db scripts from the terminal.
sqlite-utils
Choose this if structured output matters more.
DuckDB CLI
Choose this if structured output matters more.
mycli
Choose this if you care more about mysql shell, autocomplete, and readable results from the terminal.
litecli
Choose this if you care more about sqlite shell, autocomplete, and readable tables from the terminal.