Install WSL (Windows PowerShell as Administrator)

wsl --install

Reboot if it tells you to.

Open Ubuntu from the Start menu, then run:

sudo apt update
sudo apt install -y build-essential git

Verify:

git --version
make --version
g++ --version
Scroll to Top