How to enable Bash in Windows 10 developer preview?

与世无争的帅哥 提交于 2019-11-28 04:27:54

To enable bash in Windows 10:

  1. Click the Start button , click Control Panel, click Programs, and then click Turn Windows features on or off.
  2. Enable Windows Subsystem for Linux
  3. To get Bash installed, open Command Prompt and type “bash”

For More Information visit :

  1. Announcing Windows 10 Insider Preview Build 14316
  2. Run Bash on Ubuntu on Windows

In some cases, attempting to turn on Developer Mode on may crash the Settings app. If this happens, the workaround is to use these steps here to enable Developer Mode

Mohamed Anas Ben Othman

The Bash feature isn't available on build 14295.

  • Scott answered a question that an update will be coming soon to insiders (Microsoft want to make sure everything is OK with this feature before pushing it to Insiders)
  • I've been chatting with a Microsoft Program Manager (Sarah Cooley) and she confirm that she have the Bash feature on Build 14311 (which isn't out for insiders yet)

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

Shrishail Mashal

Step1: Enable Developer Mode (Settings - Update & security > For developers)

Step2: Search for “Windows Features” and choose “Turn Windows features on or off” and enable Windows Subsystem for Linux (Beta).

Step3: To get Bash installed, open Command Prompt and type “bash”

Step4: Bash will install required packages on windows you can start with windows bash

Step5: Install any package through apt-get install package_name

Happy Bash programming on windows!

Now, you don´t have to enable developer mode anymore, to run bash. Better security for you without having the dev. mode enabled.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!