How to install Xcode Command Line Tools

后端 未结 13 1921
無奈伤痛
無奈伤痛 2020-11-22 01:08

How do I get the command-line build tools installed with the current Xcode/Mac OS X v10.8 (Mountain Lion) or later?

Unlike Xcode there is no installer, it\'s just a

13条回答
  •  礼貌的吻别
    2020-11-22 01:45

    1. Visit the apple More Downloads for Apple Developers page (log in if you're not logged in)
    2. Expand the Command Line Tools row with appropriate MacOS Version (we can always view the macOS version from Top Bar > Click on Apple icon > About This Mac > view Version)
    3. Download the .dmg file for that Command Line Tools (Screenshot attached)
    4. Once the .dmg file is downloaded, we can double click it and install it

提交回复
热议问题