usql
MIT universal psql-style CLI for SQL and NoSQL databases
Databases / Data · OSS/MIT · 10.1k
Reviewed 2026-10-18 · last push 2026-10-13 · repo checked 2026-10-19
What's Good
MIT (xo/usql), release v0.21.6 (2026-09-22), developed since 2017. A single Go binary with drivers for dozens of databases, context-based completion, copying data between different databases, and terminal graphics. Ideal for anyone who knows psql and has to touch other databases too. ★~10.1k.
The Catch
Still 0.x. Some drivers are only included in certain build tags, so check your binary supports the database you need. Completion and meta-commands are not as deep as pgcli or the native clients.
Verdict
One CLI for every database — perfect for ops and scripting across engines.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/usql)
HTML
<a href="https://stackgems.com/gems/usql"><img src="https://stackgems.com/badge/usql.svg" alt="usql reviewed on Stack Gems" height="20"></a>
Related
Databases →- SupabaseOpen-source Firebase alternative built on Postgres
- PGliteApache-2.0 Postgres compiled to WASM for browser, Node, Bun and Deno
- pgcliBSD-3-Clause Postgres CLI with smart autocompletion
- CitusAGPL-3.0 Postgres extension for distributed tables
- Parse ServerApache-2.0 self-hosted backend on Node.js with MongoDB or Postgres