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 winget
Scoop

Not available in the Scoop repository.

Chocolatey
choco install wsl2 -y

Package 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 managerPackageVerified versionSource
wingetMicrosoft.WSL2.7.13Manifest
Chocolateywsl22.7.14Manifest

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

More Terminal & Shell