AptLynx

Command-line tool

pgcli

brew/pgcli

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

CLI for Postgres with auto-completion and syntax highlighting

At a glance

Type
Command-line tool
Install on
Windows, macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

Windows

pipx install pgcli

macOS

brew install pgcli
pipx install pgcli

Linux

brew install pgcli
pipx install pgcli

Connect to a PostgreSQL database using a connection string

pgcli postgresql://user@host/database

Connect to a database using flags

pgcli -h host -U username -d database

Display help

pgcli --help

Browse

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents