TinkOL

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

升级MacMojave 后brew无法使用

2018年10月15日 4210点热度 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问题
一个无语的mysql问题 iOS 15 初体验,IP隐藏功能测试,还有Private Relay Python实现命令行单行倒计时 测试新版文章编辑器 升级MacMojave 后brew无法使用 博客迁移小记
标签聚合
Apple Wordpress MacOS Mojave MacOS iOS Ubuntu CentOS 分享
归档
  • 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