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.
- Open the Settings app.
- Go to System -> Apps & Features.
- Scroll down to the Programs and Features link:
- Click the link. The Programs and Features dialog will be opened.
- On the left, click the link Turn Windows features on or off.
- 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:
- Click OK to apply the changes you made. Windows will install Ubuntu Bash:
- 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.
- Open Settings.
- Go to Update and Security -> For developers.
- Enable the option called "Developer mode".Click Yes in the confirmation dialog:
Finally, to try Ubuntu Bash in action, do the following:
- Open the command prompt.
- Type the following command:
- When prompted, press Y to continue. Windows 10 will download the required components from the Windows Store and extract the Linux file system.
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
That's it. You have a working Bash console in Windows 10.