Xcode is Apple's IDE.

Command Line Tools

Xcode CLT provides additional CLI tools for macOS. They're distributed in two ways:

  • As part of Xcode.app, nested inside the Contents/Developer directory. If you need Xcode installed, use that.
  • Independently, installable via xcode-select --install to /Library/Developer/CommandLineTools. This is preferable when Xcode is not otherwise required.

You can switch betwen installations with xcode-select --switch $dir.