Setup · Chapter 2 of 6
Xcode Command Line Tools
Apple’s starter toolkit. Install this before Homebrew.
First install: Xcode Command Line Tools, a small bundle of build utilities from Apple. Lots of developer software quietly depends on it, including Homebrew, which you'll install next. You don't need the giant full Xcode app; this slim version is plenty.
- 1
Open your terminal and paste this in:
Terminalxcode-select --install - 2
Press Enter. A system dialog usually pops up offering to install the tools. Click Install, accept the license, and let it run. A few minutes on most connections.
- 3
Already have them? Then instead of a dialog you'll get an error like the one below. That's not a problem: it literally means “you're done, move on.”
Terminalxcode-select: error: command line tools are already installed, use "Software Update" in System Settings to install updates
Done. Next: Homebrew, which handles every install after this one.
