PostgreSQL is an open-source relational database management system that runs on Linux, Unix, Windows and Mac OS. It supports SQL queries, transactions, foreign keys, triggers and views. To install PostgreSQL, download the installer package for your platform and run through the installation process, which sets up the database files and creates a default database and user account. The psql command-line tool can then be used to interact with and administer the PostgreSQL database using SQL commands.