Homebrew

audience developer
level all
topic Homebrew
subtopic Installation

Xcode Command Line Tools Already Installed?

To develop software on a Mac, you'll need Xcode Command Line Tools. See the article About Xcode Command Line Tools. Homebrew requires it; if it's not there when you install Homebrew, you'll see an option to install Xcode Command Line Tools.

If you have freshly installed macOS, and Xcode Command Line Tools are not installed, skip ahead to the next section, Install Homebrew and install Xcode Command Line Tools as an option when you install Homebrew.

If you updated your macOS from an earlier version, you may have an outdated version of Xcode. Before installing Homebrew, check Are Xcode Command Line Tools already installed? and check if you have the most recent version.