- Windows 10
- Enable wsl
- Install linux distro
- Enable the Windows Subsystem for Linux Windows Feature
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
- Enable WSL (Ubuntu)
- Updating to WSL2
Enable-WindowsOptionalFeature -Online -FeatureName VirtualMachinePlatform
- If you want to make wsl2 as default architecture:
wsl --set-default-version 2