如何在 Windows 10 开发者预览版中启用 Bash? [英] How to enable Bash in Windows 10 developer preview?

查看:21
本文介绍了如何在 Windows 10 开发者预览版中启用 Bash?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用 windows 10 开发者预览版 Build 14295.从 Build 大会上我了解到我们可以在 windows 10 中启用 bash.但不清楚如何在 windows 10 中启用 bash.

请在下面找到有关在 Windows 10 中运行 bash 的博文.链接:

我启用了开发者模式.但我不确定如何添加功能并运行 bash.请帮忙.

解决方案

Windows 10 中启用 bash:

  1. 单击开始"按钮 、控制面板"、程序",然后单击打开或关闭 Windows 功能".
  2. 为 Linux 启用 Windows 子系统
  3. 要安装 Bash,请打开命令提示符并输入bash"

欲了解更多信息,请访问:

  1. 宣布 Windows 10Insider Preview Build 14316
  2. 在 Ubuntu 上运行 Bash窗户

在某些情况下,尝试开启开发者模式可能会导致设置"应用崩溃.如果发生这种情况,解决方法是在此处使用这些步骤 启用开发者模式

I am using windows 10 developer preview Build 14295. From the Build conference I understood that we can enable bash in windows 10. But its not clear how to enable bash in windows 10.

Please find below the blog post for running bash in windows 10. Link : http://www.hanselman.com/blog/DevelopersCanRunBashShellAndUsermodeUbuntuLinuxBinariesOnWindows10.aspx

After turning on Developer Mode in Windows Settings and adding the Feature, run you bash and are prompted to get Ubuntu on Windows from Canonical via the Windows Store

I enabled the developer mode. But I am not sure how to add a feature and run the bash. Kindly help.

解决方案

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

这篇关于如何在 Windows 10 开发者预览版中启用 Bash?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆