PostgreSQL 101
π How to Install and Run PostgreSQL (Windows) Step 1: Download PostgreSQL Go to the official website: π https://www.postgresql.org/download/windows/ Click Download the installer → it will redirect to EnterpriseDB . Choose: Latest stable version (e.g., PostgreSQL 16) Windows x86-64 Download the .exe installer. Step 2: Install PostgreSQL Run the installer and follow this setup: Installation Directory Leave default (recommended). Components ✔ PostgreSQL Server ✔ pgAdmin 4 ✔ Command Line Tools Data Directory Leave default. Set Password for Superuser (postgres) ⚠️ VERY IMPORTANT Remember this password. You will use it to login. Port Number Default is: 5432 Leave it unless you already have something using that port. Click Next → Install → Finish. To add psql to Windows Environment Variables ✅ Step 1: Find PostgreSQL bin Folder Go to where PostgreSQL is installed. Usually it is: C:\Program Files\PostgreSQL\16\bin (Replace 16 with your version.) Insid...