Setup WSL2
From WikiMLT
1. Download and install the Linux kernel update package: WSL2 Linux kernel update package for x64 machines
2. Start
>PowerShell
:
wsl -l -v
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2
wsl --set-version Ubuntu-20.04 2
References:
- WSL: Am I running version 1 or version 2?
- https://aka.ms/wsl2–install
- https://aka.ms/wsl2kernel
- https://docs.microsoft.com/en–us/windows/terminal/get–started
- https://teckangaroo.com/enable–windows–10–virtual–machine–platform/
- https://docs.microsoft.com/en–us/windows/terminal/custom–terminal–gallery/custom–schemes
- https://docs.microsoft.com/en–us/windows/terminal/troubleshooting