The Anniversary Update for Windows 10 brings a slew of new features and changes, which makes every user more productive, including developers. For example, in this new update, the operating system introduces a full-blown Bash shell, which is a Linux command-line tool designed specifically for developers -- and it's a big deal.
It's not a complicated task to install Bash on Ubuntu on Windows 10, and it can be easily launched from the Start menu. However, many times, developers will find themselves working inside File Explorer where they wish they could simply use the right-click menu to open Bash from the working directory. Just like it's possible when you press and hold the Shift key to open Command Prompt.
In this Windows 10 guide, we'll walk you through the process to include a new option in the right-click context menu to open Bash on a particular working directory using the Registry.
How to add an open Bash shell option on the right-click context menu
Important: Before proceeding with this guide, you should know that modifying the registry is risky, and it can cause irreversible damage to your installation if you don't do it correctly. It's recommended to make a full backup of your computer before proceeding.
- Use the Windows key + R keyboard shortcut to open the Run command, type regedit, and click OK to open the registry.
Browse the following path:
- Right-click the Shell (folder) key.
Select New and click on Key.
- Name the key bash and press Enter.
- Select the bash key, and on the right side, double-click the (Default) string and enter the text you want to appear in the option for the context menu. For example, "Open Bash on this location," "Open Linux Bash," or anything you want.
Click OK to continue.
- Right-click the bash (folder) key.
- Select New and click on Key.
- Name the key command and press Enter.
Select the command key, and on the right side, double-click the (Default) string and enter the path to open Bash:
Click OK to complete the task.
Once you've completed the instructions, you can open any folder, right-click on an empty space, and you'll find the new option to launch Bash.
Additionally, you can add an icon that will help your eyes to spot the option even quicker, and to do that, you can use these steps:
- While in the Registry, right-click the bash (folder) key.
Select New and click on String Value.
- Name the key Icon and press Enter.
Double-click the string and enter the path for the Bash shell tool:
Click OK to complete the task.
The above instructions are aimed for tech-savvy users, but if you're not comfortable tweaking the Registry, just as in school you were taught the long process and then the short version, there is an alternative way to open Bash without touching the Registry.
The alternative process involves to open File Explorer on the folder you want, and then type bash on the address bar and press Enter. For example, if you're on C:\Windows, and use bash on the address bar, bash will open on /mnt/c/Windows.
More Windows 10 resources
For more help articles, coverage, and answers on Windows 10, you can visit the following resources:
- Windows 10 on Windows Central – All you need to know
- Windows 10 help, tips, and tricks
- Windows 10 forums on Windows Central
Update 4: Trump gives blessing to TikTok sale to Microsoft
TikTok may soon be owned by Microsoft. The company is reportedly in talks to buy out the U.S. portion of TikTok amid a rumored Trump administration order for TikTok owner Bytedance to divest. On Monday, President Trump says he does not oppose the sale so long as it is done by September 15.
Windows 10 build 20185 makes your DNS settings easier to access
Microsoft shipped a new Windows 10 build for Insiders in the Dev channel today. This build comes in at 20185, and includes several feature updates and fixes to check out.
ASUS gears up for Xbox Series X with first HDMI 2.1 gaming monitors
Xbox Series X and PlayStation 5 are slated to support the HDMI 2.1 standard, which will bring higher bandwidth for handling 4K at up to 120Hz. Right on cue, ASUS has announced a new series of 4K, HDMI 2.1 certified monitors to take advantage of the bump in specs.
10 must-have apps for any new PC
You just purchased a new PC and set it up, and now you're looking for some great apps. Look no further. These are the best apps for your new Windows 10 PC.