tql
A database client for the terminal that always shows you the query behind what is on screen.
brew install vheissulabs/tap/tql
curl -fsSL https://raw.githubusercontent.com/VheissuLabs/tql/main/install.sh | sh
The database is the part of the job you cannot see. Everything else is already in the terminal — the editor, the logs, the deploy — and the schema is behind a window you have to go and find.
tql is that window, in the terminal. Click a header and the order by appears; filter a column and the where does. An agent reads through the same engine you do, and every statement either of you runs lands in one history. A connection tagged production wears production's colour, read-only connections refuse every write, and nothing is changed until you type :w.
It opens a SQLite file as happily as a Postgres server behind an SSH tunnel, with nothing to configure first.
Built with Laravel Zero, Laravel Prompts and Laravel MCP, and shipped as one statically linked binary for macOS and Linux. MIT licensed.