Enable the "Windows Subsystem for Linux" optional feature and restart
1. Open PowerShell with administrator and run:
Enable-windowsoptionalfeature-online-featurename Microsoft-windows-subsystem-linux
2. Restart the computer as prompted.
3. Confirm that WSL is enabled.
Get-windowsoptionalfeature-online-featurename Microsoft-windows-subsystem-linux
Install the Linux distribution of your choice
1. Check the operating system version
Run the following command in PowerShell:
Systeminfo | Select-string "^os"
Fall creators Update and later versions: Install from Microsoft Store
(This section is for Windows version 16215 and later.) )
2. Open the Microsoft Store and choose the Linux release you like.
3. When the download is complete, select "Launch".
Open a console window. After waiting for the installation to complete, prompt to create your Linux user account.
4. Login Verification
Installing Windows Subsystem for Linux on Windows 10