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

- Skill: `agentskillexchange/usql-universal-command-line-sql-client-for-multiple-database` (Agent Skill)
- Install (CLI): `npx skillmds@latest add agentskillexchange/usql-universal-command-line-sql-client-for-multiple-database`
- Raw SKILL.md: https://api.skillmd.com/api/skills/agentskillexchange/usql-universal-command-line-sql-client-for-multiple-database/raw
- Safety review: pending (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Data & Analytics
- Author: agentskillexchange (https://skillmd.com/u/agentskillexchange)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/agentskillexchange/usql-universal-command-line-sql-client-for-multiple-database

---


# 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/)

