usql
popularcautiondatabasebrew
xo · Universal SQL shell, multiple databases, and db scripts from the terminal.
$ brew install usqlOne-liner to try
$ usql postgres://localhost/postgresAgent pack
Copy into an agent
A markdown-ready setup brief with install, verify, safe starting commands, and guardrails for AI agents.
Readiness
Usable with guardrails · 50/100
Verify
usql --version
Agent URL
/cli/usql/agent.md
Quick reference
Install
brew install usqlVerify
usql --versionFirst command
usql postgres://localhost/postgresAbout
Universal SQL shell, multiple databases, and db scripts from the terminal. Built by xo.
Example workflow
1. usql postgres://localhost/postgres