xcode-select

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.

Install

Every version of macOS screws this up. Figure it out.

macOS High Sierra 10.13:

xcode-select --install

macOS Mojave 10.14

That command doesn’t work anymore. It’ll start to download and encounter “network connectivity issues”.

  1. Visit the Apple developer downloads website.
  2. Download this file: Command Line Tools (macOS 10.14) for Xcode 10.1
  3. Install it.

Now run xcode-select --install and it should say “already installed”.

Update

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.