Windows 10 version 2004 (Build 10941) or higher.
Enabled Windows Subsystem for Linux feature. To enable following enter in Powershell
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux| # 0. open a PowerShell as administrator | |
| # 1. Enable WSL | |
| dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart | |
| # 2. Enable VM Platform | |
| dism.exe /online /enable-feature /featurename:VirtualMachinePlatform /all /norestart | |
| # 3. RESTART system, then open a PowerShell as administrator again | |
| # MAKE SURE YOU HAVE RESTARTED BEFORE YOU CONTINUE |