- Install Windows Terminal
- Install VS Code
- Install WSL2
- Install Ubuntu
- Install Remote Development extension for VS Code
- Forward ports
- Develop
hostname -I
netsh interface portproxy add v4tov4 listenport=3001 listenaddress=0.0.0.0 connectport=<port> connectaddress=<Ubuntu IP>
You can also use attached PowerShell script
# launch default WSL at home directory
wsl ~
# go to your project directory
cd workspace/something
# open VS Code from folder
code .
- Changing things in Windows hosts file should be sufficient for Ubuntu hosts
- For Docker, use Docker Desktop. Tutorial
- Never use files in Windows filesystem. If you need to access Ubuntu file system from Windows explorer, go to
\\wsl$