TinkOL

  • 首页
TinkOL
好记性不如烂笔头!
  1. 首页
  2. macOS
  3. 正文

升级MacMojave 后brew无法使用

2018年10月15日 3089点热度 0人点赞 0条评论

众所周知,brew 可谓是Mac下管理软件的一大神器,通过brew,可以很方便的安装各种软件,非常方便。

安装brew不是本篇文章的重点,网上有非常多的文档了,其实也很简单,参照官网,一条指令的事。

前两天,更新完MacMojave后,发现brew无法使用了,一直提示"Error:Failure while executing;"

Error: Failure while executing; `git config --local --replace-all homebrew.analyticsmessage true` exited with 1.
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

一番搜索后,在国外论坛stackexchange发现解决之道:更新下xcode command line即可。

安装命令:xcode-select --install

安装完后再执行brew upgrade,一切正常。

本作品采用 知识共享署名 4.0 国际许可协议 进行许可
标签: MacOS Mojave 分享
最后更新:2018年10月15日

Tink

这个人很懒,什么都没留下

点赞
< 上一篇
下一篇 >

文章评论

razz evil exclaim smile redface biggrin eek confused idea lol mad twisted rolleyes wink cool arrow neutral cry mrgreen drooling persevering
取消回复

最新 热点 随机
最新 热点 随机
Linux查看软件包是否默认安装 iOS 15 初体验,IP隐藏功能测试,还有Private Relay 修复homebrew安装软件404问题 macOS在iterm2使用touch ID Python实现命令行单行倒计时 一个无语的mysql问题
测试新版文章编辑器 记一次Nginx负载均衡 Nginx fastcgi_cache 的坑 MacOS Mojave 升级体验 二〇二〇 升级MacMojave 后brew无法使用
标签聚合
分享 MacOS Mojave iOS MacOS Apple CentOS Ubuntu Wordpress
归档
  • 2021年6月
  • 2021年4月
  • 2020年9月
  • 2020年3月
  • 2020年2月
  • 2019年5月
  • 2019年4月
  • 2019年1月
  • 2018年10月
  • 2018年9月

COPYRIGHT © 2022 tinkol.com. ALL RIGHTS RESERVED.

Theme Kratos Made By Seaton Jiang

浙ICP备15016634号-1