Usql
Universal command-line interface for SQL databases
By xo. Free and open source for Windows, Linux. Latest version v0.21.6, released 2026-09-22.
Is Usql safe?
Trust score 67/100: Good. A solid project with a few gaps. Download from the official release and keep it updated.
- Very widely used: 10,173 GitHub stars
- Actively developed: code changed in the last 30 days
- Downloads come straight from the project's own GitHub releases
- Around since 2017
Things to watch:
- No OpenSSF Scorecard report yet, so security practices are unverified
- No checksums or signatures published: you can't verify the download
10,173 GitHub stars · 130k downloads · 39 contributors.
Download Usql
- usql-0.21.6-linux-amd64.tar.bz2 (Linux, 69.7 MB)
- usql-0.21.6-linux-arm.tar.bz2 (Linux, 44.6 MB)
- usql-0.21.6-linux-arm64.tar.bz2 (Linux, 47.4 MB)
- usql-0.21.6-windows-amd64.zip (Windows, 44.7 MB)
- usql_static-0.21.6-linux-amd64.tar.bz2 (Linux, 58.9 MB)
- usql_static-0.21.6-linux-arm64.tar.bz2 (Linux, 38.5 MB)
Downloads come straight from github.com/xo/usql.
About Usql
Installing | Building | Database Support | Using | Features and Compatibility | Releases | Contributing
usql is a universal command-line interface for PostgreSQL, MySQL, Oracle Database, SQLite3, Microsoft SQL Server, [and many other databases][databases] including NoSQL and non-relational databases!
usql works with [SQL and NoSQL databases][databases] from a command line modelled on PostgreSQL's psql. usql supports most of the core psql features, such as [variables][variables], [backticks][backticks], [backslash commands][commands] and has additional features that psql does not, such as [multiple database support][databases], [copying between databases][copying], [context-based completion][completion], and [terminal graphics][termgraphics].
Database administrators and developers that would prefer to work with a tool like psql with non-PostgreSQL databases, will find usql intuitive, easy-to-use, and a great replacement for the command-line clients/tools for other databases.
Similar apps
- Micro: A modern and intuitive terminal-based text editor (Good, 70/100)
- JiraCLI: 🔥 Feature-rich interactive Jira command line. (Good, 63/100)
- dblab: The database client every command line junkie deserves. (Good, 69/100)
- Ov: 🎑Feature-rich terminal-based text viewer. It is a so-called terminal pager. (Good, 68/100)
- Orbiton: Snappy and configuration-free text editor/IDE for the terminal. Suitable for writing git commit messages, editing Markdown, config files, so (Good, 63/100)
- Squix's SQL Stash: A CLI tool for managing and executing SQL queries across multiple databases. Written in Go, made beautiful with BubbleTea (Good, 61/100)
Questions
Is Usql safe to download?
Usql has an OpenShelf trust score of 67/100 (Good). A solid project with a few gaps. Download from the official release and keep it updated. Main thing to watch: No OpenSSF Scorecard report yet, so security practices are unverified.
Is Usql free?
Yes. Usql is free and open source under the MIT license. The source code is public at github.com/xo/usql.
Does Usql work on Windows and Linux?
Usql is available for Windows, Linux. Ready-made downloads exist for Windows, Linux.
How do I install Usql?
Download the official file from the project's GitHub releases (for example usql-0.21.6-linux-amd64.tar.bz2) and run it.
What are alternatives to Usql?
Similar open-source apps: Micro (trust 70/100), JiraCLI (trust 63/100), dblab (trust 69/100), Ov (trust 68/100).