How to enable bash in preview of windows 10 developer?

I am using the Windows 10 developer preview of Build 14295. At the Build conference, I realized that we can enable bash in Windows 10. But it's not clear how to enable bash in Windows 10.

Below you will find a blog post for running bash on Windows 10. Link: http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUsermodeUbuntuLinuxBinariesOnWindows10.aspx

After you enable developer mode in the Windows settings and add Function, start you bash and you will be asked to get Ubuntu on Windows from Canonical via the Windows Store

enter image description here

I turned on developer mode. But I'm not sure how to add a function and run bash. Kindly help.

+44
linux windows bash windows-10 windows-subsystem-for-linux
Apr 01 '16 at 9:25
source share
5 answers

To enable bash on Windows 10 :

  • Click the "Start" button, select "Control Panel", "Programs", and then "Turn Windows Features On or Off."
  • Enable Windows Subsystem for Linux
  • To install bash, open a command prompt and enter "bash"

Enable Windows Subsystem for Linux Install Ubuntu on Windows using the Windows Store Start bash

For more information, visit:

In some cases, an attempt to enable developer mode may cause the Settings app to crash. If this happens, a workaround is to use these steps here to enable development mode

+69
Apr 07 '16 at 1:13
source share

Bash is not available in build 14295.

  • Scott answered the question that the update would be available soon for insiders (Microsoft wants everything to be OK with this feature before clicking on Insiders).
  • I spoke with Microsoft's program manager (Sarah Cooley), and she confirms that she has a Bash function on Build 14311 (which is not for insiders yet).

You can see Scott here: https://news.ycombinator.com/item?id=11394994 .

+19
Apr 03 '16 at 9:22
source share
+1
Apr 7 '16 at 0:58
source share

Step1: Enable Developer Mode (Settings - Update & Security> For Developers)

Step 2. Find "Windows Features" and select "Enable or Disable Windows Features" and enable the Windows Subsystem for Linux (beta).

Step 3. To install Bash, open a command prompt and enter "bash"

Step 4: Bash will install the required packages on windows that you can run from windows Bash

Step 5: install any package via apt-get install package_name

Happy Bash programming on windows!

+1
Jul 10 '17 at 11:24 on
source share

Now you no longer need to enable developer mode to start bash. The best security for you without having a developer. mode is on.

0
Aug 23 '17 at 2:06 on
source share



All Articles