You will be asked to provide the password of Postgres Unix superuser, which will be created at the time of installation. Please select an appropriate location and click “Next”: You will be asked to select the location for your Postgres cluster’s Data Directory. Selecting where to store data (location of Data Directory) Please select from the list and click “Next”:ĥ. Stack Builder and pgAdmin 4 are optional. PostgreSQL server and command line tools are compulsory. You will next be asked to select the tools that you want to install along with the Postgres installation. Select your desired location and click “Next”: You will be asked to specify which directory you wish to use to install Postgres. When you get the screen below, click on “Next” button: Run the downloaded dmg package as administrator user. Download your preferred version from the list available. Visit the downloads page of EnterpriseDB’s website.
There are other methods for installing PostgreSQL on Mac as well, and they can be found here.
Note: The method we are using here to install PostgreSQL takes advantage of the installers EnterpriseDB provides. Installing PostgreSQL on Mac OS is easy, and in this post we will review all the necessary steps to get it up and running.