Bash On Ubuntu On Windows(Windows Subsystem for Linux)

After Windows 10 Build 14316 or later you can enable Microsoft Windows Subsystem for Linux feature
so you can run Ubuntu in your Windows box.

Check build version

C:\>systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
OS Name:                   Microsoft Windows 10 Enterprise Evaluation
OS Version:                10.0.14393 N/A Build 14393


Step 1 Click Action center at right button corner and click all settings and
Step 2 On Windows Setting window click “Update & Security
Step 3 Click “For Developer” tab on the left
Step 4 Enable “Developer Mode” and restart the computer
Step 5 After Restart you can now open a command prompt (CMD) or powershell and type “bash“.
It will ask you to install Ubuntu just choose yes “y”

Windows PowerShell

Copyright (C) 2016 Microsoft Corporation. All rights reserved.

PS C:\Users\chako> bash
-- Beta feature --
This will install Ubuntu on Windows, distributed by Canonical
and licensed under its terms available here:

Type "y" to continue: y
Downloading from the Windows Store... 100%
Extracting filesystem, this will take a few minutes...
Please create a default UNIX user account. The username does not need to match your Windows username.
For more information visit:
Enter new UNIX username: chako
Enter new UNIX password:
Retype new UNIX password:
passwd: password updated successfully
Installation successful!
The environment will start momentarily...
Documentation is available at:
chako@DESKTOP-ERGD9VC:/mnt/c/Users/chako$ systeminfo | findstr /B /C:"OS Name" /C:"OS Version"
findstr: command not found
systeminfo: command not found

After complete the installation, you can now run “Bash On Ubuntu On Windows” 🙂

chako@DESKTOP-ERGD9VC:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 14.04.5 LTS
Release:        14.04
Codename:       trusty