TiloBox
Back to directory
usql project preview

usql

Universal command-line interface for PostgreSQL, MySQL, Oracle, SQLite, and Snowflake.

LicenseMIT
GitHub stars8.5k
Last commit1 weeks ago
Tags6 topics
Psql AlternativeSql TerminalDatabase ClientUniversal CliDeveloper ToolsGolang
Overview

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.

Guided learning

Learn usql by building

Practical setup notes, real use cases, and copy-ready examples in one focused guide.

1 min read 2 sections
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

bash
1# macOS via Homebrew
2brew install xo/xo/usql
3
4# Go
5go install github.com/xo/usql@latest

usql is licensed under the permissive MIT License.

Related tools

More options with a similar category or technology profile.

usql FAQs

usql is listed as a Developer Tools tool on TiloBox. Review the overview, features, and official documentation on this page to decide whether it solves your specific workflow.

Start with the project's GitHub repository for supported installation and deployment instructions. Test the setup with representative data or a small project before rolling it out more widely.

usql is listed under the MIT license. Read the complete license text and the project's notices before using, modifying, or distributing the software.

Production readiness depends on your requirements. Review maintenance activity, security practices, documentation, backup and upgrade procedures, and compatibility with your stack; then validate it in a non-production environment.

usql is listed as an alternative to psql. Compare the core workflow, deployment model, integrations, and licensing against your must-have requirements before switching.