- Launch Powershell as administrator
- Run the following command
dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
- Reboot
- If running Windows 2004 or newer, run the following additional commands to use WSL 2
dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart
wsl --set-default-version 2 - Click the Start Button > Search Microsoft Store > Select Microsoft Store
- Search for the Linux distribution to install (Debian, Ubuntu, etc)
- Select the Linux distribution and click the Get button in the upper right corner
- After the Linux distribution downloads and installs, select the distribution from the Start menu to launch it
- Input a username and password to be used in the Linux environment