Install PostgreSQL

Head to and click on “Download.”

Click on your operating system (for this example, we’re using a Windows computer, so we’ll click on the Windows icon). 

Click on “Download the installer.”

Navigate to the column in the table that has your operating system–in this example, it is Windows x86-64. If you’re not sure how to find your operating system, click here. Click on version 11.13 (more recent versions are not compatible with Artisan).


The PostgreSQL installer will start downloading.

A pop-up window will ask if you want the program to make changes to your computer. Select “yes.”

Click “Next” on the PostgreSQL Setup Wizard.

PostgreSQL already created an installation folder for you in your Program Files section, so in most cases, you won’t have to change where PostgreSQL will be installed on your computer. If you want to change where PostgreSQL will be installed, click on the folder button and select a new location. 


Otherwise, click “Next.

Leave the components checked, except for the Stack Builder. Hit “Next.”

Now, you’ll need to select where your data will be stored. PostgreSQL automatically created a data folder for you, but if you want to change where that data will be stored, click on the folder button. Otherwise, click “Next.”

Create a password to use to sign into PostgreSQL. Once you’re finished, click “Next.”


The installation wizard will automatically select what is known as a “port number.” The server “listens” to this port number. The default is normally 5432. You can change this number if necessary. Click “Next” when finished.

Leave the locale set to default, then click “Next.”

The installation wizard will show you a pre-installation summary. Click “Next.”

PostgreSQL is now ready to be installed. Click “Next.”

PostgreSQL will begin installing.