Reprinted from: Baidu Experience
Windwos 10 's Anniversary update provides developers with a big new feature: A complete, Ubuntu-based bash Shell that runs Linux software directly on Windows. This makes it possible for the Linux subsystem to be used with Windows 10.Method/Step
Open Settings app and head Update and Security > for development. Start the "developer Mode" switch here to make the developer mode.
After you do this, you are prompted to restart the computer. Click "Restart Now" to restart your computer and Windows 10 will install the new feature.
You now have the full command line based on Ubuntu for the bash shell. Because they are the same binaries, you can use Ubuntu's apt-get command to install Ubuntu software
To open the Bash shell, just open the Start menu, search for bash or Ubuntu and you'll see a "bash on the Ubuntu on Windows app." You can put shortcuts to this app in your Start menu, taskbar, or Desktop for easy use.
How to install and use the Bash shell for Linux in Windows 10