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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM