Mac使用git clone时出现
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
终端输入
xcode-select --install
出现安装完成即可用git

本文指导Mac用户在遇到git clone时的xcrun错误,通过安装并激活Command Line Tools,解决'/Library/Developer/CommandLineTools'路径丢失的问题,确保Git可用。
Mac使用git clone时出现
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
终端输入
xcode-select --install
出现安装完成即可用git

6350
2万+
2903
3440

被折叠的 条评论
为什么被折叠?