Developer Tools

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.

Things to watch:

10,173 GitHub stars · 130k downloads · 39 contributors.

Download Usql

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

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).