Install PostgreSQL on Windows Last Updated : 12 Jul, 2025 Comments Improve Suggest changes Like Article Like Report Installing PostgreSQL on your Windows 10 machine is straightforward with the PostgreSQL installer. In this article, we'll walk you through installing PostgreSQL version 11.3, ensuring a smooth setup process.Steps to Install PostgreSQL on WindowsThere are three crucial steps for the installation of PostgreSQL as follows: Download PostgreSQL installer for Windows Install PostgreSQL Verify the installation Step 1: Downloading PostgreSQL Installer for WindowsYou can download the latest stable PostgreSQL Installer specific to your Windows by clicking here.Step 2: Installing the PostgreSQL installerAfter downloading the installer double click on it and follow the below steps: Click the Next button.Choose the installation folder, where you want PostgreSQL to be installed, and click on Next. Select the components as per your requirement to install and click the Next button. Select the database directory where you want to store the data and click on Next. Set the password for the database superuser (Postgres).Set the port for PostgreSQL. Make sure that no other applications are using this port. If unsure leave it to its default (5432) and click on Next. Choose the default locale used by the database and click the Next button. Click the Next button to start the installation. Wait for the installation to complete, it might take a few minutes. Click the Finish button to complete the PostgreSQL installation. Step 3: Verifying the Installation of PostgreSQLThere are couple of ways to verify the installation of PostgreSQL like connecting to the database server using some client applications like pgAdmin or psql. The quickest way though is to use the psql shell. For that follow the below steps: Access psql Shell:Search for "psql" in the Windows search bar and open it.Enter server details (localhost), database (default "postgres"), port (default 5432), username (postgres), and the password you set during installation.Check Installation:In the psql shell, enter 'SELECT version();' to confirm PostgreSQL is installed correctly. You should see version information displayed.Tips:Ensure firewall settings allow PostgreSQL connections. Explore pgAdmin or other client tools for database management. Comment More info R rajukumar19 Follow Improve Article Tags : PostgreSQL postgreSQL-basics how-to-install Explore BasicsPostgreSQL Tutorial8 min readWhat is PostgreSQL - Introduction2 min readInstall PostgreSQL on Windows2 min readInstall PostgreSQL on Mac3 min readDatabase OperationsPostgreSQL - Create Database5 min readPostgreSQL - Loading a Database3 min readPostgreSQL ALTER DATABASE3 min readPostgreSQL - Rename Database4 min readPostgreSQL - Show Databases3 min readData TypesPostgreSQL - Data Types5 min readPostgreSQL - Boolean Data Type4 min readPostgreSQL - CHAR Data Type5 min readPostgreSQL - VARCHAR Data Type3 min readPostgreSQL - NUMERIC Data Type5 min readPostgreSQL - Date Data Type4 min readPostgreSQL - TIME Data Type4 min readPostgreSQL - JSON Data Type4 min readPostgreSQL - CREATE DOMAIN3 min readQuerying TablesPostgreSQL - SELECT3 min readPostgreSQL - ORDER BY clause2 min readPostgreSQL - WHERE clause6 min readPostgreSQL FETCH Clause4 min readPostgreSQL - IN operator4 min readPostgreSQL - HAVING clause4 min readPostgreSQL - GROUP BY clause4 min readPostgreSQL - LIKE operator5 min readPostgreSQL - BETWEEN Operator3 min readTable OperationsPostgreSQL - CREATE TABLE5 min readPostgreSQL - SELECT INTO4 min readPostgreSQL - CREATE SEQUENCE4 min readPostgreSQL - ALTER TABLE6 min readPostgreSQL - ADD COLUMN4 min readPostgreSQL - DROP COLUMN2 min readPostgreSQL - Rename Table2 min readPostgreSQL - DROP TABLE5 min readPostgreSQL - TRUNCATE TABLE4 min readPostgreSQL - Copy a Table3 min readPostgreSQL - Comparing Tables3 min readPostgreSQL - Show Tables4 min readModifying DataPostgreSQL - INSERT4 min readPostgreSQL - Insert Multiple Values in Various Rows3 min readPostgreSQL UPDATE Statement5 min readPostgreSQL - DELETE4 min readPostgreSQL - Upsert4 min readConditionalsPostgreSQL - CASE3 min readPostgreSQL COALESCE5 min readPostgreSQL - NULLIF() Function4 min readPostgreSQL - CAST3 min readControl FlowPostgreSQL - IF Statement5 min readPostgreSQL - CASE Statement4 min readPostgreSQL - Loop Statement3 min readPostgreSQL - While Loops4 min readPostgreSQL - Exit Statement3 min readPostgreSQL - Continue3 min readTransactions & ConstraintsPostgreSQL - Transactions4 min readPostgreSQL - COMMIT4 min readPostgreSQL - Primary Key4 min readPostgreSQL - Foreign Key5 min readPostgreSQL - CHECK Constraint2 min readPostgreSQL - UNIQUE Constraint3 min readPostgreSQL - NOT NULL Constraint3 min readJOINS & SchemasPostgreSQL - Joins5 min readPostgreSQL - LEFT JOIN5 min readPostgreSQL - INNER JOIN2 min readPostgreSQL - FULL OUTER JOIN4 min readPostgreSQL - SELF JOIN4 min readPostgreSQL - Schema5 min readPostgreSQL - CREATE SCHEMA5 min readPostgreSQL - DROP SCHEMA4 min readPostgreSQL - ALTER SCHEMA3 min read Like