How to check if command line tools is installed

后端 未结 10 2132
执念已碎
执念已碎 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:52

    To check if command line tools are installed run:

    xcode-select --version
    
    // if installed you will see the below with the version found in your system
    // xcode-select version 1234.
    

    If command line tools are not installed run:

    xcode-select --install
    

提交回复
热议问题