Install Windows Subsystem for Linux on Windows
Run Linux distributions like Ubuntu directly on Windows.
Install commands
Open PowerShell or Windows Terminal and run one of these commands to install Windows Subsystem for Linux.
winget
winget install --id Microsoft.WSL --exact --source wingetScoop
Not available in the Scoop repository.
Chocolatey
choco install wsl2 -yPackage details
- Category
- Terminal & Shell
- winget
Microsoft.WSL- Chocolatey
wsl2
Package sources
The script installs exactly these packages. Versions are the latest ones recorded by the automated catalog check on 2026-09-14; they are used when version pinning is enabled.
| Package manager | Package | Verified version | Source |
|---|---|---|---|
| winget | Microsoft.WSL | 2.7.13 | Manifest |
| Chocolatey | wsl2 | 2.7.14 | Manifest |
Install Windows Subsystem for Linux together with other apps
Add this app to a WinMate selection to install it together with the rest in one script and with a single administrator prompt.
Add to my install script