usql 多数据库通用命令行 SQL 客户端
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/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/xo/usql/HEAD/README.md