How do I install Bash on Ubuntu on Windows 10?

I'd like to install the Ubuntu Bash on my Windows 10 machine. How do I do that?


Solution 1:

First off you have to make sure that you're on Build 14311 or higher of the developer preview, which is available to the general public. From there, follow these steps:

  1. In Settings --> Update & Security --> For Developers, enable Developer Mode

    Developer Mode Enable

    You'll get a warning about developer mode, select Yes

    Developer Mode Warning

  2. Search for "Windows Features" in the Settings Search (Top Right Corner) and select Turn Windows features on or off

  3. Navigate to and then enable (check mark) the `Windows Subsystem for Linux (Beta)

    Windows Features

  4. After installation, you'll be required to restart the computer. This is a pretty large install and may take some time.

  5. Finally, open a cmd window and execute the command bash. You'll be required to accept the terms and service. Ubuntu will then be download (~1 Gb in size) and then install.

  6. Enjoy!