Install pgcli by entering the following commands in the terminal:
sudo apt update sudo apt install pgcli
Description:
CLI for Postgres
pgcli is a command line interface for PostgreSQL with auto-completion and syntax highlighting. The CLI is also capable of pretty printing tabular data.
Homepage: http://pgcli.com
Version: 1.6.0-1
Section: universe/database