How to install Linux Bash on Windows 10 version 1607

Ivan Jenic By: Ivan Jenic
3 minute read

Home » Windows » How to install Linux Bash on Windows 10 version 1607

Microsoft CEO, Satya Nadella recently confirmed that “Microsoft loves Linux”. The company introduced some benefits for Linux developers using Windows 10. Starting from the Anniversary Update for Windows 10, developers are 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. Bash runs on Windows 10 natively, as a part of the Windows Subsystem for Linux. That means you don’t need any emulators or third-party applications to run it.

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.

Install Bash on Windows 10 Anniversary Update

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:

  1. Open the Windows 10 Settings app.
  2. Go to Update & securityFor Developers.
  3. Under “Use developer features“, select the Developer mode option.
  4. On the message box, click Yes to turn on developer mode.install bash windows 10 1
  5. Restart your computer.
  6. Once your computer reboots, open Control Panel.
  7. Click on Programs > Turn Windows features on or off.
  8. Check the Windows Subsystem for Linux (Beta) option, and click OK.install bash windows 10 2
  9. 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:

  1. Open Start, do a search for bash.exe, and press Enter.
  2. In the command prompt, type y and press Enter. This command will automatically download and install Bash from the Windows Store.install bash windows 10 3
  3. 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”.
  4. 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.

RELATED STORIES YOU NEED TO CHECK OUT:

Discussions

Next up

Getting Something went wrong error on Twitter? Fix it now

Johnny Williams avatar. By: Johnny Williams
2 minute read

Twitter is the social media platform used for distributing short messages across the world. A platform that allows us to tweet whatever we wish, be […]

Continue Reading

Something went wrong while downloading your template [Fix]

Matthew Adams By: Matthew Adams
3 minute read

MS Office 2013 users can utilize templates for preformatted documents. However, some Office users have said that a Something went wrong while downloading your template […]

Continue Reading

Windows Virtual Desktop is now available for Microsoft 365 Enterprise users

Rabia Noureen avatar. By: Rabia Noureen
2 minute read

The new Windows Virtual Desktop (WVD) product and strategy announced last year in September is here. Well, the Redmond giant planned to offer an early […]

Continue Reading