Mac安装git,使用时提示 cannot run git xcode-select: note: no developer tools were found, requesting install.

 

问题:Mac安装git,使用时提示 cannot run git xcode-select: note: no developer tools were found, requesting install.

 

没必要根据提示下载对应软件,这个软件很大,有好几个G

 

解决方法:

去苹果的开发者官网下载  Command_Line_Tools_for_Xcode_12.4.dmg  版本选择最新即可

官网地址:https://developer.apple.com/download/more/

左侧勾选:Developer Tools 和 mac OS

选择最新版本软件下载安装即可

 

参考:

https://blog.csdn.net/qq_33833327/article/details/82585248

 

-----smile

posted @ 2021-04-19 16:43  Walker-lyl  阅读(4284)  评论(0编辑  收藏  举报