You must be running Windows 10 (64-bit) version 1607 or above to install WSL.

Step-by-step guide

Part 1

The first part involves running a PowerShell script to enable WSL.

  1. Right-click on the Start Menu icon and click Windows PowerShell (Admin).
  2. In the window that appears, enter the following command and press Enter to execute it.

    iex(New-Object Net.WebClient).DownloadString('https://goo.gl/dDX8GR')


  3. When prompted, press Enter to reboot your laptop.

Part 2

After completing part 1 and rebooting, you may now install Ubuntu on WSL.

  1. Visit the Ubuntu 18.04 LTS app on the Microsoft Store.
  2. Click the Get button to download the app.
  3. Once installed, click the Launch button on the Ubuntu store page to install the distro.
  4. When the process is finished, you'll be presented with a BASH prompt.


Try this if the above instructions do not work.

Part 1

The first part involves running a PowerShell script to enable WSL.

  1. Right-click on the Start Menu icon and click Command Prompt (Admin).

  2. In the UAC dialog, select Yes.
  3. In the window that appears, enter the following command and press Enter to execute it.

    powershell -nop -c "iex(New-Object Net.WebClient).DownloadString('https://goo.gl/dDX8GR')"


  4. When prompted, press Enter to reboot your laptop.

Part 2

After completing part 1 and rebooting, you may now install WSL.

  1. Right-click on the Start Menu icon and click Command Prompt (Admin).
  2. In the UAC dialog, select Yes.
  3. In the window that appears, enter the following command and press Enter to execute it.

    bash


  4. Review the license terms, then press y and Enter to continue.
  5. When prompted to create a user account, choose a username and password.  Remember this information.
  6. When the process is finished, you'll be presented with a BASH prompt.

Further Reading

Related articles

Related articles appear here based on the labels you select. Click to edit the macro and add or change labels.



Related issues