Enable/install Windows subsystem for Linux in Windows 10

The Anniversary Update brings the built-in Windows Subsystem for Linux to run the Bash Unix shell on 64-bit versions of Windows 10, without third-part app supported. The Bash utilizes Hyper-V function and is useful for developers and IT professionals to use a rich collection of command line. Here are the step by step tips to enable and install it.

How to Enable and install Windows Subsystem for Linux in Windows 10
Note: Those Windows 10 with the November Update, 1511 or 10586 and the July Public release, 10240 are not supported at all, as well as it is not working in 32-bit versions.
* Make sure there is available Internet access on your Surface Pro tablet or other Windows 10 computer.
* From your desktop, click the Start menu at the left-bottom conner, and open the Setting app.
* Go to Update & security > Activation, select Developer mode in the left pane, and click Yes button to turn on developer mode.
* Right click on Start menu, select Control Panel, click on the Programs and Features icon, and click the “Turn Windows features on or off” link on the left side.
You can also press Win + R from your keyboard, type optionalfeatures.exe and press Enter.
* In Windows Features dialog, locate the Windows Subsystem for Linux, check its box, and click OK button.
* Then restart the system to complete the installation.
* Once you have done the above method, press Win + X keys and choose Command Prompt from the power user menu. Input the command:
and press Enter, then type the letter:
and press Enter again to execute it. Windows 10 will download the Bash command line tools (about 200 MBs) and install it.

To start Linux Bash in Windows 10, click the Start menu and go to All Apps > Bash on Ubuntu for Windows. Then you are able to try out Linux Commands, such as date (display the date and time), cal (display your current calendar), whoami (find out the logged in user currently).


Leave a Reply