如何在Mac OS 10.14.4中安装发电机

维迪·帕特尔(Vidhi Patel)

在终端中写入以下命令后,我无法安装发电机

brew install mogenerator

并得到类似的错误 -bash: brew: command not found

您能为我提供所有步骤的步骤吗?

Zalak parikh

我也得到了这种类型的错误生成器,并通过以下步骤解决了它。

  1. 打开终端并输入命令:: / usr / bin / ruby​​ -e“ $(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)”
  2. 在执行步骤1之后,如果出现类似

==> / usr / bin / sudo / bin / rm -f /tmp/.com.apple.dt.CommandLineTools.installondemand.in-progress

==> / usr / bin / sudo / usr / bin / xcode-select --switch / Library / Developer / CommandLineTools

xcode-select:错误:无效的开发人员目录'/ Library / Developer / CommandLineTools'

在以下期间失败:/ usr / bin / sudo / usr / bin / xcode-select --switch / Library / Developer / CommandLineTools

  1. 在您的终端中编写命令:: xcode-select --install
  2. 完成第3步后,您将看到一个popUp,因此请单击安装按钮
  3. 完成安装后,最后执行命令火来安装发电机。:: brew install发电机

您将不会收到错误消息,并且发电机已成功安装

参考链接:https : //docs.brew.sh/安装

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章