How to check if command line tools is installed

后端 未结 10 2119
执念已碎
执念已碎 2020-11-30 18:02

I have a macbook pro with OS X 10.8.2. XCode is installed. I know this as it appears in the Applications directory. There are also the xcodebuild and xcode-select files in /

10条回答
  •  渐次进展
    2020-11-30 18:50

    Open your terminal and check to see if you have Xcode installed already with this:

    xcode-select -p
    

    in return, if you get this:

    /Library/Developer/CommandLineTools
    

    That means you have that Xcode is installed.

    Another way you can check would you if you have "HomeBrew" installed you can use the following command to see if you have Xcode and the version:

    brew config
    

    And finally, if you don't have the Xcode follow this link to download the Xcode from the Appstore. Xcode from the App Store.

    Good Luck.

提交回复
热议问题