Skip to content

Installing WSL2 on Windows

https://learn.microsoft.com/en-us/windows/wsl/install

wsl --install

Note

The above command only works if WSL is not installed at all. If you run wsl --install and see the WSL help text, please try running wsl --list --online to see a list of available distros and run wsl --install -d <DistroName> to install a distro.