usql is a universal command-line interface for SQL databases including PostgreSQL, MySQL, SQLite, Oracle, SQL Server, and dozens more. It provides a consistent psql-like experience with syntax highlighting, tab completion, and cross-database copying.
Scanned 6/8/2026
Install via CLI
openskills install agentskillexchange/skills---
name: "usql Universal Command-Line SQL Client for Multiple Databases"
slug: "usql-universal-sql-client"
description: "usql is a universal command-line interface for SQL databases including PostgreSQL, MySQL, SQLite, Oracle, SQL Server, and dozens more. It provides a consistent psql-like experience with syntax highlighting, tab completion, and cross-database copying."
github_stars: 9904
verification: "security_reviewed"
source: "https://github.com/xo/usql"
category: "Developer Tools"
framework: "Multi-Framework"
tool_ecosystem:
github_repo: "xo/usql"
github_stars: 9904
---
# usql Universal Command-Line SQL Client for Multiple Databases
usql is a universal command-line interface for SQL databases including PostgreSQL, MySQL, SQLite, Oracle, SQL Server, and dozens more. It provides a consistent psql-like experience with syntax highlighting, tab completion, and cross-database copying.
## Installation
Use the upstream install or setup path that matches your environment:
- $ brew install xo/xo/usql
- $ brew tap xo/xo
- $ brew install --with-odbc usql
- $ git clone https://aur.archlinux.org/usql.git && cd usql
Requirements and caveats from upstream:
- Scoop][], [via Go][], or [via Docker][]:
- [via Docker]: #installing-via-docker
Basic usage or getting-started notes:
- command][homebrew]:
- sh
- Support for [ODBC databases][databases] is available through the --with-odbc
- Source: https://github.com/xo/usql
- Extracted from upstream docs: https://raw.githubusercontent.com/xo/usql/HEAD/README.md
## Source
- [Agent Skill Exchange](https://agentskillexchange.com/skills/usql-universal-sql-client/)
No comments yet. Be the first to comment!