xcode-select --install
worked with version 2333, failed with version 2003. So, try xcode-select --install
and if that does not work download as described below.xcode-select --install
has been reporting that 'Can't install the software because it is not currently available from the Software Update server'. In late February 2014 the command started only displaying help. The solution is to download directly, see 'Separate Download' below. xcrun git
). From the help at the bottom of the download preference pane:remote
sudo
because this package needs to be installed on the root file system 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
).dmg
file for that Command Line Tools
(Screenshot attached).dmg
file is downloaded, we can double click it and install it