DEV Community

Malicha Galma
Malicha Galma

Posted on • Edited on

Basic Dev Environment Setup for Beginners Using WSL on Windows

This is a basic checklist I followed to set up my developer environment on Windows using WSL and connect Git to GitHub using SSH. It's beginner-friendly and includes everything I needed to get started.

1.Git
I installed Git inside Ubuntu (WSL):
sudo apt update
sudo apt install git -y

Then I set my Git identity:
git config --global user.name "your-username"
git config --global user.email "your-email@example.com"

2.Python (Version 3.10+)
To check if Python is installed:
python3 --version
If not, I installed it with:
sudo apt install python3 python3-pip -y
3.Text Editor: VS Code
I used Visual Studio Code as my main editor.
I installed the Remote - WSL extension to open Ubuntu files directly in VS Code.
4.WSL (For Windows Users)
I enabled WSL by running this in PowerShell (as administrator):
wsl --install
After restarting, I chose Ubuntu and created a Linux username.

5.Docker
I installed Docker Desktop from:

[](https://www.docker.com/products/docker-desktop)

During setup, I enabled the WSL 2 backend in Docker settings.

6.GitHub SSH Setup
I created an SSH key in Ubuntu:
ssh-keygen -t ed25519 -C "your-email@example.com"
Then added it to the SSH agent:
eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519

To copy the public key:
cat ~/.ssh/id_ed25519.pub
I pasted it into GitHub under:
Settings → SSH and GPG Keys → New SSH key

To test the connection:
ssh -T git@github.com
And got:

Hi your-username! You've successfully authenticated...

Now my dev environment is ready. I can write Python code, use GitHub securely with SSH, run Docker containers, and work entirely inside Ubuntu using VS Code.

Top comments (1)

Collapse
 
chrisachinga profile image
c a

great!