Some applications require compilation tools from Apple Xcode. You can get these from:
- Apple Xcode (6100 MB)
- Apple Command Line Tools (930 MB)
You probably don’t need Xcode, so install the smaller Command Line Tools.
Every version of macOS screws this up. Figure it out.
macOS High Sierra 10.13:
macOS Mojave 10.14
That command doesn’t work anymore. It’ll start to download and encounter “network connectivity issues”.
- Visit the Apple developer downloads website.
- Download this file:
Command Line Tools (macOS 10.14) for Xcode 10.1
- Install it.
xcode-select --install and it should say “already installed”.
Sometimes Apple’s software update installs new versions.
When macOS does a major version bump, this will (1) break (2) not be the correct solution anymore.