PostgreSQL | Connecting to PostgreSQL with psql
PostgreSQL provides a command-line tool called psql for creating databases and tables, adding data, and searching data. This section explains how to connect to PostgreSQL with psql.
The psql command exists in the {PostgreSQL installation path}/bin directory.