#5 Install PostgreSQL on WSL (Beginner Setup Guide)

Опубликовано: 28 Июль 2026
на канале: LetsVibeCode
78
2

In this video, we install PostgreSQL inside our WSL (Windows Subsystem for Linux) development environment and create a local development database.

We walk through:

Installing PostgreSQL
Starting the PostgreSQL service
Setting a password for the default postgres user
Accessing PostgreSQL from the terminal
Creating a local development database

This is part of the LetsVibeCode beginner developer setup series where we build a complete development environment from scratch using Linux, VS Code, Node.js, PostgreSQL, and AI-assisted coding tools.

What You'll Learn
How to install PostgreSQL on Debian/WSL
How to start the PostgreSQL service
How to access PostgreSQL from the terminal
How to create a local database
Basic PostgreSQL terminal workflow
Install PostgreSQL

-- Copy and paste the commands between the three ``` quote marks. Do not include the quotes.

Install PostgreSQL
```
sudo apt update
sudo apt install postgresql postgresql-contrib
```

Start PostgreSQL
```
sudo service postgresql start
```

Set "postgres" as Default Password
```
sudo -u postgres psql
ALTER USER postgres PASSWORD 'postgres';
\q
```

Get Into Local PostgreSQL
```
sudo -u postgres psql
```

Create a Development Database
```
Create a Development Database
```

Exit PostgreSQL (psql)
```
\q
```

Coming Next
DBeaver setup and database connection
Connect Node.js & Postgres
Git and GitHub setup
Full-stack development workflows
AI-assisted coding with Codex and Claude

🌐 AppSolo: https://www.appsolotech.com/

#PostgreSQL #Postgres #WSL #Linux #Database #Programming #Coding #DeveloperSetup #LetsVibeCode #WebDevelopment