WSL 2: Install

The Official Docs are way too long, so here is the compressed version.1)

dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart

shutdown /r /t 0
###

curl.exe https://wslstorestorage.blob.core.windows.net/wslblob/wsl_update_x64.msi -O
./wsl_update_x64.msi
wsl --set-default-version 2

shutdown /r /t 0
###


wsl --install -d Debian