首页>手册>软件使用帮助>Mac M1 Brew install 报错Command failed with exit 128:git

Mac M1 Brew install 报错Command failed with exit 128:git

问题:
记录一个问题,原因是今天使用Mac上面的Brew安装一个Redis发生了错误,我也是头一次使用Brew。
理论上来说使用brew安装出现这种Error都是可以解决的!

具体如图所示,执行brew install redis报错Command failed with exit 128:git

解决方式:
输入brew -v后会提示你执行两个配置命令,直接复制执行就ok了!

git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-cask
Homebrew/homebrew-cask

git config --global --add safe.directory /opt/homebrew/Library/Taps/homebrew/homebrew-core
Homebrew/homebrew-core

Mac M1 Brew install 报错Command failed with exit 128:git

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索
在线客服
幕后
点击下面图标和我们联系
2024-03-27 22:36:57
您好,有任何疑问请与我们联系!
您的工单我们已经收到,我们将会尽快跟您联系!
[微信号]
注:点击复制微信号并打开微信APP,添加好友后进行聊天。
取消

选择聊天工具: