Among the most exciting updates in Windows 10 is the ability to use the Linux Bash shell from the command line. This is a real, native Bash shell which can use all the Linux command-line tools you know and love on top of Windows.
To enable the Windows Subsystem for Linux, go to Settings > Update & Security > For Developers and select Developer Mode (you can press Windows key + i to open Settings).
In the Control Panel go to Programs > Turn Windows features on or off and put a check-mark next to the folder named Windows Subsystem for Linux (beta). After applying the change you will need to reboot your computer.
Open up a Command Prompt as an administrator and type bash and hit enter. Agree to the download prompt.
The download and install will take several minutes. When finished, enter a username and password. You will now be able to use the Linux command line in Windows.