usql
Universal command-line interface for PostgreSQL, MySQL, Oracle, SQLite, and Snowflake.
Why consider usql?
usql is a universal command-line interface for SQL, NoSQL, and analytical databases. Built in Go, it brings psql-like syntax, autocomplete, and scripting capabilities to over 20 database engines.
Learn usql by building
Practical setup notes, real use cases, and copy-ready examples in one focused guide.
In this guide2 sections
Overview of usql
usql unifies database command-line management under one binary, supporting syntax highlighting, SSL connection flags, and CSV/JSON output formatting.
Installation
# macOS via Homebrewbrew install xo/xo/usql# Gogo install github.com/xo/usql@latestusql is licensed under the permissive MIT License.
Related tools
More options with a similar category or technology profile.
diskus
Minimal, fast alternative to du -sh written in Rust using multi-threaded directory traversal.
peco
Simplistic interactive filtering tool for Unix pipelines, process lists, and file trees.
Dapr CLI
Command-line tool for managing Dapr distributed application runtime environments and sidecars.
Freeze
Generate beautiful image screenshots and SVGs of code snippets and terminal outputs.