You should note down this password for logging in to the PostgreSQL database server later. Third, select the components that you want to install, uncheck the Stack Builder, and click the Next button:įourth, specify a directory where PostgreSQL stores the data and click the Next button:įifth, enter the password for the postgres user account. Second, select the directory where the PostgreSQL will be installed and click the Next button: To install PostgreSQL on macOS, you follow these steps:įirst, launch the setup wizard by double-click the installer file:
To download the PostgreSQL installer, you follow these steps:
Summary: in this tutorial, you will learn how to download the PostgreSQL, install PostgreSQL on macOS, and restore the sample database.