3

Although it may seem to be duplicate to this question, the fact is, that Microsoft recently announced that bash will be running directly from windows

Obviously I am preferring that solution before installig cygwin.

The problem is, that blog post kinda states that it is already possible, yet I could not find a way to enable this in my windows installation.

What should I do in order to run bash directly as stated in linked microsoft blog post?

5
  • 2
    There are 3rd party bashes available now that you can install. The Windows update that contains the sanctioned by Microsoft bash hasn't been released yet.
    – Tyson
    Mar 31, 2016 at 17:58
  • @Tyson reading the blog post made me believe that it already is available, so I wated to try it before installing cygwin or going dualboot Mar 31, 2016 at 18:01
  • From you link... "....which will first become available in Windows 10 “Insiders” builds after the Build conference..."
    – Tyson
    Mar 31, 2016 at 18:07
  • the blog seems to indicate on a supported version. just runnimg the command would autoinstall it. Give it a shot
    – Journeyman Geek
    Mar 31, 2016 at 18:51
  • That's not really running "directly from windows," the article title is even "Run Bash on Ubuntu on Windows". It sounds a lot like it could be a command line only VM. Anyone know for sure? For now, to run it "directly" you could just run full Ubuntu in a full VM
    – Xen2050
    Apr 1, 2016 at 11:08

3 Answers 3

4

After installing the Windows Anniversary Update, search for "Developer Mode":

enter image description here

Select "Developer Mode":

enter image description here

Accept the dialog:

enter image description here

Then search for "Windows Features":

enter image description here

Select "Windows Subsystem for Linux (Beta)":

enter image description here

It will then ask you to reboot:

enter image description here

Reboot, then run cmd.exe, then type bash. Accept the license. It will download and install:

enter image description here

This took about 5 minutes to complete on my machine. You'll have to select a username and password too.

5

As the blog says: "will first become available in Windows 10 “Insiders” builds after the Build conference".

The Build conference doesn't end until tomorrow (Apr. 1, 2016), so it's not out yet.

Once it's out: "Developers will be able to download the Bash shell from the Windows Store."

Source

2
  • 2
    Too impatient :) Mar 31, 2016 at 18:18
  • It's a great move for Microsoft
    – Stuart
    Mar 31, 2016 at 19:45
2

The Bash is available since Build 14316

enter image description here

Run native Bash on Ubuntu on Windows: In this build, you can natively run Bash in Windows as announced last week at Build 2016. To do this, you first need to turn on Developer Mode via Settings > Update & security > For developers.

enter image description here

Then search for “Windows Features” and choose “Turn Windows features on or off” and enable Windows Subsystem for Linux (Beta). enter image description here To get Bash installed, open Command Prompt and type “bash”.

Microsoft explained all steps in detail in this blog post.

4
  • I do not have the subsystem option. build 14316 and dev mode on. strange... Apr 12, 2016 at 11:48
  • 1
    @JPHellemons maybe you use the 32Bit Windows 10 Preview. The Linux System seams to only part of the 64Bit Windows. Apr 12, 2016 at 15:42
  • Running on Lenovo Miix 2 8inch. it is a 32bit version of win10 indeed, has x64 cpu it seems. Do you know if it will be available for 32bit too? Apr 13, 2016 at 9:44
  • @JPHellemons I have no idea. Ask this Microsoft in their forums and send Feedback via the Feedback app Apr 13, 2016 at 15:31

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .