【发布时间】:2022-11-06 18:09:09
【问题描述】:
目前我正在测试一个 github 存储库,我正在关注 github 的 README.md,它要求我运行“bash build/build.sh”命令行来构建环境。但不知何故,我无法让命令在我的 PowerShell 中运行。 Windows PowerShell 不断显示“适用于 Linux 的 Windows 子系统没有安装的发行版。 使用 'wsl.exe --list --online' 列出可用的发行版 和 'wsl.exe --install' 进行安装。
也可以通过访问 Microsoft Store 来安装发行版: https://aka.ms/wslstore 错误代码:Bash/Service/CreateInstance/GetDefaultDistro/WSL_E_DEFAULT_DISTRO_NOT_FOUND"
我已经从 Microsoft Store 安装了适用于 Linux 预览版的 Windows 子系统,但我仍然无法运行“bash build/build.sh”命令。
【问题讨论】:
标签: bash powershell cmd build