Install PostgreSQL on Mac (original) (raw)

Last Updated : 12 Jul, 2025

Installing **PostgreSQL on **Mac OS can enhance our development environment, providing a robust **relational database management system. In this article, we will focus on installing **PostgreSQL version 11.3 using the **installer provided by **EnterpriseDB.

This **step-by-step guide will ensure a **smooth installation process, enabling us to efficiently manage **databases and run **SQL queries on our **Mac.

Download PostgreSQL Installer for Mac

To begin, we need to download the latest stable **PostgreSQL Installer specifically for our Mac OS. Visit the EnterpriseDB download page and select the version we wish to install. Ensure we choose the installer that matches our Mac OS version.

Step-by-Step Download Instructions:

  1. Go to the PostgreSQL Download Page.
  2. Choose the **PostgreSQL version 11.3 installer for Mac.
  3. Click on the **Download button to start the download process.

Installing the PostgreSQL installer

Once the **download is complete, follow these steps to install **PostgreSQL on your Mac:

Step 1: Launch the Installer

Step 2: Click the Next Button

Step 3: Choose Installation Folder

Step 4: Select Components

Step 5: Set Database Directory

Step 6: Set Password for Superuser

Step 7: Set the Port for PostgreSQL

Step 8: Choose the Default Locale

Step 9: Start the Installation

Verifying the Installation of PostgreSQL

After the **installation is complete, it's essential to verify that **PostgreSQL is installed correctly. Open our **terminal and execute the following command:

ps -ef | grep postgres

**Output

PostgreSQL-installation-Output

PostgreSQL Installation Output

Conclusion

In this guide, we covered the **step-by-step process to **install PostgreSQL on a Mac OS machine. By following these instructions, we can easily set up our **database environment and use the powerful features of **PostgreSQL for our applications. Whether we are developing **locally or managing larger databases, **PostgreSQL provides a **reliable and **efficient solution for our database needs. Now that our installation is complete, we can start exploring the capabilities of **PostgreSQL, including **creating databases, **running queries, and **managing data effectively.