Where is the Ubuntu console on Windows10?

27

7

I updated my Windows 10 system to the 1607 "Anniversary Update" version and I can't find the Ubuntu Bash console.

So... Where is it?

Marek M.

Posted 2016-08-03T19:20:38.877

Reputation: 397

Question was closed 2016-08-04T10:12:10.090

I guess it's integrated into CMD/Powershell ?! – NetwOrchestration – 2016-08-03T19:24:38.820

1Not really an "Ubuntu" console - it's a bash shell session, which is available on all Unix/Linux platforms. – SnakeDoc – 2016-08-03T22:49:24.713

1This may be pretty off-topic, but what is so infamous about it? – Mayukh Nair – 2016-08-04T10:15:11.593

Answers

40

To enable the bash shell from the Windows 10 Anniversary Update, you have to enable the feature Windows Subsystem for Linux

1. Go into the Control Panel and click Turn Windows features on or off enter image description here

2. Then select the package Windows Subsystem for Linux (Beta). It will go through the installation process and ask you to restart your computer. enter image description here

3. Once it's restarted, you can search for bash in the search bar. enter image description here

DrZoo

Posted 2016-08-03T19:20:38.877

Reputation: 8 101

2And so I did. Now when I click on the bash command a window pops up for a milisecond and disappears. Any ideas how to debug it? When I type bash in cmd, I get Unsupported console settings. In order to use this feature the legacy console mu st be disabled.. Is it somehow connected? Should I disable cmd? If so - how to do it? – Marek M. – 2016-08-03T20:20:15.913

@SzwornyDziąch what happens if you go into cmd and type bash? Does it prompt you to install Ubuntu? – DrZoo – 2016-08-03T20:25:00.500

That exact message appears. I tried disabling cmd as described here: https://www.maketecheasier.com/disable-command-prompt-windows/ and it's disabled now. However, that did not fix the problem. Btw, I had a short lag after clicking the bash command and so I could see that the same message appears.

– Marek M. – 2016-08-03T20:27:08.880

1

@SzwornyDziąch re-enable cmd and disable cmd's legacy mode. To disable legacy mode, open cmd, then right click in the title bar and select properties. Then uncheck use legacy console. Here is a pic

– DrZoo – 2016-08-03T20:31:58.803

4@SzwornyDziąch no problem. Glad it's working for you. Have a bashing good time! Heh, I made a funny. – DrZoo – 2016-08-03T20:35:27.523

You can also start bash from a PowerShell window, or from the icon in the start menu. – Michael Hampton – 2016-08-03T22:11:27.007

16

I think you need to switch to developer mode as well.

enter image description here

craisondigital

Posted 2016-08-03T19:20:38.877

Reputation: 161

2That might be true. I've been in developer mode for a while, so I didn't know about that step. I'll have to turn it off and see if I can still access bash. – DrZoo – 2016-08-03T23:52:00.357

3I confirmed that you do have to be in developer mode. Upon switching modes, I could no longer access the bash feature. – DrZoo – 2016-08-04T02:04:00.170

Yeah, I was prompted to do that when I did it too – Journeyman Geek – 2016-08-04T02:13:28.627