当前位置:   article > 正文

mongoDB安装过程 Xcode command-line tools安装失败_command line tools for xcode 更新失败

command line tools for xcode 更新失败

xcode-select: error: command line tools are already installed, use “Software Update” to install

xcode-select --install
  • 1

出现错误

xcode-select: error: command line tools are already installed, use "Software Update" to install updates
  • 1

解决办法:

$ rm -rf /Library/Developer/CommandLineTools
$ xcode-select --install
  • 1
  • 2

如果还是报错,加上sudo

$ sudo  rm -rf /Library/Developer/CommandLineTools
$ sudo  xcode-select --install
  • 1
  • 2
声明:本文内容由网友自发贡献,不代表【wpsshop博客】立场,版权归原作者所有,本站不承担相应法律责任。如您发现有侵权的内容,请联系我们。转载请注明出处:https://www.wpsshop.cn/w/小小林熬夜学编程/article/detail/334119
推荐阅读
相关标签
  

闽ICP备14008679号