Installing a Linux Bash Shell on Windows 10 Installing a Linux Bash Shell on Windows 10

Microsoft announced that the Windows 10 Anniversary Update will bring with it a new "Linux Subsystem for Windows". However, those who are in the Insider Preview program don't have to wait that long and already have this functionality enabled. If you're someone who likes Linux, you can easily install a Linux Bash Shell without using any third-party applications, so I've decided to write this short guide and show you how to do just that.

Up until now, if you wanted to install a Bash Shell, you would have needed to create a virtual machine or use some complicated applications specially compiled for Windows such as Cygwin, but that's no longer a problem. Windows 10 can now run Linux-specific applications, the same way Linux offers a compatibility module for Windows software. In case you were curios, this is possible thanks to Microsoft's failed Astoria Project, which was originally designed to allow users to run Android apps on Windows 10.

Before we begin, you should know that this option is only available for those using Insider Preview 14316 or a newer version of the operating system. Furthermore, you will also need a 64-bit version of Windows as this functionality will not work on 32-bit systems. If both conditions are met, here's what you need to do in order to install a Linux Bash Shell on Windows 10:

  1. Open the Start Menu and click on the Settings button.
  2. Go to the Update and Security section.
  3. Select the For Developers category from the left-side pane.
  4. Check the box marked as Developer Mode and confirm your option in the window that pops up.
  5. Right-click the Start button and launch the Control Panel.
  6. Choose the Programs section.
  7. Click on the small button named "Turn Windows features on or off". (You will need administrator privileges to do that.)
  8. Check the box marked as "Windows Subsystem for Linux (Beta)".
  9. Now, your operating system should prompt you to reboot, so make sure you've saved everything and press the Restart Now button.
  10. Once you're back in Windows 10, open the Start Menu.
  11. Type "bash" (without quotes) and either press Enter or select the application from the Best Match category.
  12. Lastly, accept the terms of agreement that will only pop-up the first time you run Bash on Ubuntu on Windows and you're good to go.

You should also know that unlike the actual Linux version, the Bash on Ubuntu on Windows has some limitations that you may not like. For example, you won't be able to work with server software, and graphical software is also not an option. To put it as simply as possible, this interface is mostly designed to merely allow you to control your Windows using a Bash interface. Another disadvantage is that any application that you install using Bash on Ubuntu on Windows will only be available from the Bash window and you won't be able to use it from any other Windows 10 location.

Now that you know about installing a Linux Bash Shell on Windows 10, you might also want to check out some of our other interesting guides such as "How to a create a USB recovery drive for Windows 10", "How to fix Windows 10-related WiFi problems" or "How to enable Cortana, no matter which country you're in"

G
Guest
MSYS2 is even a better solution.

Was it helpful?  yes(6) no(13) | Reply

Referenced applications

Cygwin
FREE

Windows

rating

It is a set of tools providing a Linux look and feel environment for Windows.

My VMware
FREE

Android

rating

VMware

Windows

rating

virtual machine software

VMware Fusion

Mac

rating

VMware Fusion 8 and Fusion 8 Pro--the latest versions of its virtualization software for running Windows on a Mac without rebooting...

Author's other posts

How to make your Mac kid-friendly?
Article
How to make your Mac kid-friendly?
A few tips on how to ensure your kids' safety while they're using Macs as well as on how to keep the machine safe from your children.
Samsung's next Galaxy phone is already up for reservations
News
Samsung's next Galaxy phone is already up for reservations
Even though Samsung hasn't announced the price of the upcoming Galaxy phone or its technical specifications, we can already make reservations and be among the first to receive it.
Find out which Android phones will be able to run Fortnite
News
Find out which Android phones will be able to run Fortnite
Curious to see if you'll be able to play the Android version of Fortnite on your phone? Here's the complete list of supported devices.
Mac security tricks
Article
Mac security tricks
If you don't have a lot of experience in using your Mac, here are a few tips that could keep your machine safe from various threats.