Before installing any Linux distros for WSL, you must ensure that the "Windows Subsystem for Linux" optional feature is enabled:
Open PowerShell as Administrator and run:
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
Restart your computer when prompted.
To download and install your preferred distro(s), you have three choices:
This section is for Windows build 16215 or later. Follow these steps to check your build.
Open the Microsoft Store and choose your favorite Linux distribution.
The following links will open the Windows store page for each distribution:
From the distro's page, select "Get"
Now that your Linux distro is installed, you must initialize your new distro instance once, before it can be used.
Below are related errors and suggested fixes. Refer to the WSL troubleshooting page for other common errors and their solutions.