Make sure VT-x or AMD-V is enabled in your BIOS/UEFI Settings.
Open PowerShell (Run as Administrator)
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
Then restart.
wsl.exe --install or wsl.exe --update
wsl --set-default-version 2
Select and install your Linux distros
wsl --list --online # List all available distros
wsl --install -d Debian # Install Debian
wsl --list --all # List all local distros
Make sure to remember your Linux username and password.
Get your nerdfonts here Open Terminal app > Settings > Debian
Then at Additional settings, select Appearances > Text
Change colorscheme, font face, and font size as you wish
Save.
Open the WSL Terminal, access your Linux, and run
sudo apt update
sudo apt install gitThen, follow the tutorial of devenv-linux. Or you can get things running with the followin commands.
git clone https://github.com/nguyenvulong/devenv-linux.git
cd devenv-linux
chmod +x install.sh
./install.shAnd that's about it.
References

