Skip to content

Installing the Xcode CLI Tools

Ryan Parman edited this page Nov 7, 2024 · 5 revisions

Xcode is a development tool for building apps for Apple’s platforms. It tends to be an extremely large download.

The Xcode CLI Tools are a much smaller download and provides the core CLI tools that are leveraged for all other development on the Mac platform.

⭐ Recommended approach

Xcode icon

Use the xcode-select command to install the CLI tools. This will open a dialog box prompting you to begin the installation process.

xcode-select --install

If you receive the following message…

xcode-select: note: Command line tools are already installed. Use "Software Update" in System Settings or the softwareupdate command line interface to install updates

…this means that the Xcode CLI tools are already installed.

Alternative approach

See Installing Xcode.