Some friends cannot install Apple developer tools command line tools,When installing, it will prompt "The software cannot be installed.,Because it is currently unavailable from the software update server",Let me teach you how to install it manually。

What are command line tools?

Command Line Tools is a small standalone package from Apple,Available for macOS,Expanded the terminal with additional functionality。including but not limited to:svn、git、make、GCC、clang、perl、size、strip、strings、libtool、cpp、what、codesign and many other commands found in Linux。

For ordinary users of macOS,Mainly use its signature function,It is to sign unsigned applications/applications with invalid signatures.。Because Apple’s apps are not signed or have invalid signatures, they will basically crash and fail to run.。

Generally speaking,All you need to do is open the terminal,Then execute in terminal xcode-select --install The installer will open,Then follow the prompts to install it。However, some users will report an error if their network cannot connect to the Apple server.:不能安装该软件,因为当前无法从软件更新服务器获得

solve

Once prompted:The software cannot be installed,Because it is currently unavailable from the software update server,You need to manually go to the Apple Developer Download Center to download the offline installation package of command line tools.。

  1. Open the Apple Developer Center:https://developer.apple.com(The server of Apple Developer Center is not in China,So it will be very slow to open,wait patiently)
  2. Click on the far right of the top navigation Account,Then log in to your Apple ID
  3. Open the Developer Download Center:https://developer.apple.com/download/more/
  4. Search for command line tools (press the Enter key after typing in the search box)
  5. Choose the version for your macOS system。
  • 10.15.x Command Line Tools for Xcode can be downloaded 11.4 and above
  • 10.14.x Command Line Tools can be downloaded (macOS 10.14) for xxx,Contains macOS 10.14。
  • 10.13.x Command Line Tools can be downloaded (macOS 10.13) for xxx,Contains macOS 10.13。
  • xxxxx Other versions are the same as this.。
  1. After the download is complete,Install it,You can use it after the installation is complete。
statement:All articles on this site,If there is no special instructions or markings,All are originally published by this site。any person or organization,Without the consent of this website,Reproduction prohibited、Misappropriate、collection、Publish content from this site to any website、Books and other media platforms。If the content on this site infringes upon the legitimate rights and interests of the original author,You can contact us for processing。