pgcli
A command line interface for Postgres with auto-completion and syntax highlighting.
pgcli is a command-line interface for Postgres that adds auto-completion and syntax highlighting to interactive database sessions. It is an open-source Python project hosted on GitHub under the dbcli organization, installed via pip or Homebrew.
It connects using command-line options for host, port, username, password, and database name, or via connection strings and DSN aliases stored in the pgclirc file. It also supports many of the same environment variables as psql for login options, such as PGHOST, PGPORT, PGUSER, PGPASSWORD, and PGDATABASE. Additional options include a row-limit threshold, automatic vertical output when results exceed terminal width, a warning before running destructive queries, custom prompt formats, and a single-connection mode for completions.
pgcli is aimed at developers and database administrators who work with Postgres from the terminal. It is distributed as open-source software with no paid editions, seat-based licensing, or usage-based pricing indicated.
12 alternatives to pgcli
Ranked by how well each tool replaces pgcli: shared features, audience, price and popularity.
Open source object-relational database system
Covers 0 of 10 key features and has a free plan.
Free planOpen source66 out of 100 matchFree- 66 out of 100 match—
Easiest way to get started with PostgreSQL on the Mac
Covers 0 of 10 key features and has a free plan.
Free planOpen source62 out of 100 matchContact salesA command-line interface for MySQL with auto-completion, syntax highlighting, fuzzy search
Covers 3 of 10 key features.
Open source60 out of 100 match—- 56 out of 100 matchFree
Multi-platform PostgreSQL schema engineering tool that runs locally with no cloud, no lock
Covers 0 of 10 key features and has a free plan.
Free planOpen source55 out of 100 matchContact salesThe open source next gen database client
Covers 0 of 10 key features and has a free plan.
Free planOpen source55 out of 100 matchContact salesGet started with MongoDB using Studio 3T Community Edition, your free starter tool
Covers 1 of 10 key features and has a free plan.
Free plan52 out of 100 matchContact salesScale PostgreSQL horizontally without the pain.
Covers 0 of 10 key features and has a free plan.
Free planOpen source52 out of 100 matchContact sales