>_ linuxcommand.dev
Startseite pgcli
Database

pgcli

PostgreSQL CLI with auto-completion and syntax highlighting.

Ubuntu Debian Arch Fedora macOS
Verified: 2026-05-11
Syntax
$pgcli [OPTIONS] [DBNAME]
Optionen
-h
-U
-p
-d
Examples
$pgcli postgres://user:pass@localhost:5432/db
$pgcli -h localhost -U postgres mydb
Typical use cases
?
Standard usage
pgcli --help
Note User-friendly alternative to psql with smart completion.
Export