How to install Linux Bash on Windows 10 [EASY WAY]
Microsoft CEO, Satya Nadella, already confirmed that “Microsoft loves Linux“. The company introduced some benefits for Linux developers using Windows 10.
Developers are now able to install the Linux Bash shell on their computers, and work on their Linux projects in Microsoft’s environment.
In case you’re not familiar with the Bash shell, it’s a simple command line tool, that has been used by Linux developers for a long time.
However, even though the Linux Bash is fully compatible with Windows 10, it is not ‘visible’ by default, as users need to enable it first.
So, if you’re interested in running Linux commands on your Windows 10 machine, we’ve prepared this guide to show you how to install the Linux Bash on your Windows 10 computer.
How can i setup Bash on Windows 10? The easiest way is with command prompt. You’ll need to run the latest version of x64 Windows 10. Before anything else, prepare your PC for Linux Bash install, and then download and install it through cmd.
To do that, follow the guide below.
Steps to install Bash on Windows 10 quick and easy
As we already mentioned above, you need to run at least Windows 10 version 1607 to be able to run Bash on your computer, because previous versions of Windows 10 are not compatible with this tool.
Secondly, you need to run a x64 system, as the Linux Bash doesn’t work on x32 versions of Windows 10.
If you can meet all these prerequisites, you can now freely install the Linux Bash on your Windows 10 computer. But before you actually install Bash on your computer, you need to prepare it. And here’s how to do that:
- Open the Windows 10 Settings app.
- Go to Update & security > For Developers.
- Under Use developer features, select the Developer mode option.
- On the message box, click Yes to turn on developer mode.
- Restart your computer.
- Once your computer reboots, open Control Panel.
- Click on Programs > Turn Windows features on or off.
- Check the Windows Subsystem for Linux (Beta) option, and click OK.
- Once the components are installed on your computer, restart it once again, to complete the process.
Once you’ve prepared your computer for the Linux Bash, you can finally enable this feature. Just follow these instructions:
- Open Start, do a search for , and press Enter.
- In the command prompt, type y and press Enter. This command will automatically download and install Bash from the Windows Store.
- After that, you need to create a new default UNIX user account. This account doesn’t have to be the same as your Windows account. Enter the username in the required field and press Enter. You can’t use the username “admin”.
- Close the bash.exe command prompt.
Once you’ve done all this, Bash will be installed on your computer, and you’ll be able to run it from the Start Menu, or Desktop, just like any other app.
We must tell you that you won’t be able to perform all actions and access all features of Bash for Windows 10. Unlike the original Bash for Linux, the Windows Subsystem for Linux can’t run graphical apps. Developers can only use it as a text-based tool.
This is not the final version of Bash on Windows 10, as Microsoft still work on future improvements. We should see even more features, and options in Bash on Windows 10 with the upcoming system updates or Windows 10 builds.
If you’re a fan of Bash, then this is great news and you can now enjoy it’s features on Windows 10 with more on the way.
What’s your favourite thing about Linux Bash? Leave the answer along with any other questions you may have in the comments section below.
Editor’s Note: This post was originally published in October 2016 and has been since completely revamped and updated for freshness, accuracy, and comprehensiveness
Tumbler is a popular social media website that allows its users to create blogs and share their content with others. More than 465 million people […]