pgcli

A modern PostgreSQL CLI with auto-completion and syntax highlighting. More information: https://www.pgcli.com.

pgcli postgresql://{{user}}@{{host}}/{{database}}

pgcli {{[-h|--host]}} {{host}} {{[-U|--username]}} {{username}} {{[-d|--dbname]}} {{database}}

pgcli --help