The steps below explain how to enable Bash for Windows 10. I should note that this will require admin privileges. In most Enterprise environments you won't have admin rights and this may require special access to do.
Intalling Windows Subsystem for Linux
- Press the Windows Key
- Type Features
- Click "Turn Windows Features on or off"
- Enter root password if prompted
- In the dialog that appears click "Windows Subsystem for Linux (Beta)"
- Click Ok
Using Bash for the First Time
Once the application is installed you can start using bash (bourne again shell). Bash is the shell, or command language interpreter, for the GNU operating system and is extremely versatile and powerful. If you're new to this (which you likely are if you are following this guide) then the power of bash may not be immediately obvious to you. I'll discuss this in detail in later posts.
To start bash you can do either of the following
- Search for "bash" after hitting the Windows key
- Hitting Windows+R to open the Run menu and typing "bash"
A comment about interpreters
By default the interpreter you will run "C:\Windows\System32\bash.exe" inside of is trash. It feels very similar to the command prompt interpreter. I immediately recommend you go and install ConEmu.