====== Information ====== * Windows Subsystem for Linux ((https://learn.microsoft.com/en-us/windows/wsl/about)) ===== Prerequisites ===== * [[windows;10_ltsc_server|Windows 10 (21H2)]] ====== Install ====== "%SystemRoot%\System32\Dism.exe" /Online /Enable-Feature /FeatureName:"VirtualMachinePlatform" /All /NoRestart "%SystemRoot%\System32\Dism.exe" /Online /Enable-Feature /FeatureName:"Microsoft-Windows-Subsystem-Linux" /All /NoRestart ====== WSL2 ====== * https://learn.microsoft.com/en-us/windows/wsl/compare-versions#whats-new-in-wsl-2 "%SystemRoot%\System32\wsl.exe" --set-default-version 2 ====== Update ====== **** "%SystemRoot%\System32\wsl.exe" --update ====== openSUSE Tumbleweed ====== * [[windows;opensuse_tumbleweed_wsl|Notes]] ====== Other ====== "%SystemRoot%\System32\wsl.exe" --list --online "%SystemRoot%\System32\wsl.exe" --list --all --verbose "%SystemRoot%\System32\wsl.exe" --status "%SystemRoot%\System32\wsl.exe" --unregister x