How to enable Ubuntu Bash in Windows 10

As you may already know, the recently released Windows 10 build 14316 comes with the Ubuntu Bash console kit and utils. However, it is disabled by default. If you would like to play with the Bash console in Windows 10, here is how you can enable it.

To enable Ubuntu Bash in Windows 10, you need to turn on some options in Windows Features and Settings. This is very easy to do and does not involve anything complex.

How to enable Ubuntu Bash in Windows 10

First, you need to enable Windows Subsystem for Linux. Do it as follows.

  1. Open the Settings app.
  2. Go to System -> Apps & Features.
  3. Scroll down to the Programs and Features link:
  4. Click the link. The Programs and Features dialog will be opened.
  5. On the left, click the link Turn Windows features on or off.
  6. The dialog Windows Features will appear on the screen. Scroll down to the option named Windows Subsystem for Linux (Beta) and enable it as shown below:
  7. Click OK to apply the changes you made. Windows will install Ubuntu Bash:
  8. Reboot the operating system when prompted.

Congrats, you just installed Ubuntu Bash in Windows 10. However, in build 14316, it requires Developer mode to be enabled in order to use the Bash console. Here it how to enable it.

  1. Open Settings.
  2. Go to Update and Security -> For developers.
  3. Enable the option called "Developer mode".Click Yes in the confirmation dialog:

Finally, to try Ubuntu Bash in action, do the following:

  1. Open the command prompt.
  2. Type the following command:
    bash

  3. When prompted, press Y to continue. Windows 10 will download the required components from the Windows Store and extract the Linux file system.

The result:

You can use a number of regular Linux console apps and commands, or install more apps in the traditional Ubuntu Linux way. For example, I installed one of my favorite file managers, Midnight Commander using the command

apt-get install mc


The app works, but its hotkeys do not work properly:

That's it. You have a working Bash console in Windows 10.

Support us

Winaero greatly relies on your support. You can help the site keep bringing you interesting and useful content and software by using these options:

If you like this article, please share it using the buttons below. It won't take a lot from you, but it will help us grow. Thanks for your support!

4 thoughts on “How to enable Ubuntu Bash in Windows 10

  1. Kirill Pletnev

    Have some issues with this. Here is what i get:

    C:\Users\pwned>bash
    — Beta feature —
    This will install Ubuntu on Windows, distributed by Canonical
    and licensed under its terms available here:
    https://aka.ms/uowterms

    Type “?” to continue: ?
    ????? ??????????, ????????? ????????. ??????????? ?????…
    How i can fix it? Thank you

    Reply
    1. Sergey Tkachenko Post author

      Set the operating system language to English. Reboot. Retry – it will work as expected.
      I was going to write an article about this issue right now :)

      Reply

Leave a Reply

Your email address will not be published.