Enable Windows Subsystem for Linux (WSL)

Check Your Windows Version

How to Enable WSL:

Enable via PowerShell (the fun / fastest way):

  1. Open PowerShell as Admin

  2. Run the following command:

    dism.exe /online /enable-feature /featurename:Microsoft-Windows-Subsystem-Linux /all /norestart
    
  3. Boom done

Enable via Windows Features (the boring way):

  1. Search for “Windows features” in the search bar next to the Windows icon

  2. Select “windows features turn on or off”

  3. Scroll down to ‘Windows Subsystem for Linux’, tick the box in front of it, and click ‘OK’

    Untitled

  4. Reboot