欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

Redis报错:xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing

程序员文章站 2022-05-29 11:02:04
...

今天安装Redis的时候,报了一个错误:

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), 
missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

后来发现是因为Mac最新场景下安装Xcode时已经没有Command Line了,需要单独安装。根据提示在使用命令xcode-select --install 安装时最后结果是不能安装该软件。
所以只要执行:

xcode-select --install

就可以了。解决问题

相关标签: Redis安装报错