usql
Agent-readyData & DBDatabaseUniversal SQL shell, multiple databases, and db scripts from the terminal.
Universal SQL shell, multiple databases, and db scripts from the terminal. Built by xo.
Task fit
universal sql shell, multiple databases, and db scripts from the terminal.
Lane
Inspect schemas, run safe queries, and understand your data fast.
Operator brief
Use usql for universal sql shell, multiple databases, and db scripts from the terminal.
Run `usql postgres://localhost/postgres` and see what comes back.
Repository family
xo
First trust check
usql responds and shows available connection options.
Safe first loop
Install, verify, then run one real command.
Safe database loop
Install command
$ brew install usqlOperator pack
Copy or export the working notes for this CLI before handing it to an agent.
Verify
$ usql --helpusql responds and shows available connection options.
First real command
$ usql postgres://localhost/postgresFirst steps
- 01Install usql.
- 02Run `usql --help` first.
- 03Start with `usql postgres://localhost/postgres`.
- 04Install a CLI that matches your database engine.
When to use / hold off when
Best for
universal sql shell, multiple databases, and db scripts from the terminal.
Use this when
You need databases in both local dev and CI.
Hold off when
Trust and constraints
Why operators pick it
- usql fits data & db well, especially for universal sql shell, multiple databases, and db scripts from the terminal.
- 9 crates recent downloads.
- Easy to automate.
Constraints
- Output is mostly plain text.
- Start with read-only or dry-run commands.
Repository context
Other CLIs in this family
This is the only CLI surfaced from this family right now.