CLI Utilities Overview
In addition to providing GUI utilities, PSQL provides a number of command line interface (CLI) utilities that you can use. In most cases, these utilities duplicate functionality you can perform with GUI utilities.
For default locations of PSQL files, see Where are the PSQL files installed? in Getting Started with PSQL.
Platforms that Include CLI Utilities
These utilities are provided in the following installations:
The summary of utilities in the section that follows notes which utilities are present in a server or client install.
Where to Find CLI Utilities
Please note the location based on your platform.
Windows
In Windows, the utilities are installed to the BIN directory of your PSQL installation. If you installed to the default installation location, your utilities are located in file_path\PSQL\bin\. Since the PSQL installation places your install directory in the PATH, these utilities should be available from any command prompt.
Linux or OS X
On Linux and OS X, utilities are installed to /usr/local/psql/bin. The user psql has the necessary environment variables to use the utilities. If you wish to use utilities from accounts other than psql, follow these instructions in Getting Started with PSQL: PSQL Account Management on Linux and OS X.
Utilities by Platform and Engine Type
The following tables outlines the command line utilities, the platform on which they are made available, as well as if a graphical user interface is available for the utility.
Monitor Utility (see Monitoring in Advanced Operations Guide)
PSQL Control Center (see PSQL Security in Advanced Operations Guide)