psql

PostgreSQL command-line client. More information: <https://www.postgresql.org/docs/current/app-psql.html>.

Debian Debian
RUN apt-get update && \ apt-get install -y postgresql-client-9.1
Ubuntu
RUN apt-get update && \ apt-get install -y postgresql-client-9.3
Alpine
RUN apk add postgresql
Arch Arch Linux
RUN pacman -S --noconfirm postgresql-old-upgrade
image/svg+xml Kali Linux
RUN apt-get update && \ apt-get install -y postgresql-client-11
CentOS
RUN yum install -y postgresql
Fedora
RUN dnf install -y postgresql
Raspbian
RUN apt-get update && \ apt-get install -y postgresql-client-9.5
click the source code to copy install psql on any operating system with command-not-found.com