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:
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