WSL/Enable WSL on windows

< WSL
Jump to: navigation, search

Before Windows Subsystem for Linux (WSL) can be installed, the WSL Windows Feature must be installed.

Using Powershell

  1. Open a Powershell terminal as an administrator and enter the following:
    Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Windows-Subsystem-Linux
  2. Restart your computer (required).

Using Control Panel

  1. Open Control Panel (Start > Windows System > Control Panel).
  2. If you see eight to ten items: Click the "View by:" drop-down box and select, "Small icons."
  3. Open "Programs and Features."
  4. Click the "Turn Windows features on or off" hyperlink.
  5. In the Windows Features window, check "Windows Subsystem for Linux." The list is alphabetized, so it should appear near the bottom.
  6. Click the OK button to close the Windows Features Window.
  7. Close the Control Panel.
  8. Restart your computer (Required).

Using Settings

  1. Right click the Start button, select "Settings."
  2. In the "Find a setting" box at the top of the Windows Settings window, type "windows features."
  3. Select "Turn Windows Features on or off" from the selection box immediately below the search.
  4. In the Windows Features window, check "Windows Subsystem for Linux." The list is alphabetized, so it should appear near the bottom.
  5. Click the OK button to close the Windows Features Window.
  6. Close the Control Panel.
  7. Restart your computer (Required).

See also

Related articles

External links