Windows Subsystem for Linux
Enable WSL
- Open
appwiz.cpl
- Check HyperV
- Check Windows Subsystem for Linux
Install a distro
There are two options
Install from Microsoft Store
Install through command line
Switch to WSL2
After you have installed a distro, if you want to convert it to WSL2 use the following command
wsl --set-version <distro name> 2
For example
wsl --set-version ubuntu 2