If Xcode is already installed on your Mac, you don’t need this useful Unix toolkit.

What Is Xcode Command Line Tools?

What Is Included in Xcode Command Line Tools?

A developer using Xcode on a MacBook Pro

There are 112 Terminal commands included in Xcode Command Tools (as of v14.2).

So, check out our comprehensivecheat sheet of Mac terminal commandsto make the most from Terminal.

It provides a great reference for all the essential commands you should know.

The Command Line Tools folder in macOS Finder

We’ll cover both of these methods below.

Upon a successful installation, you’ll find your command line developer tools within theusr/bin/sub-folder inside the/Library/Developer/CommandLineTools/folder.

Check that/Library/Developer/CommandLineTools/is gone on your Mac.

Downloading Apple’s Xcode Command Line Tools using Safari

To avoid complications, do not manually trash this folder in the Finder.

The Xcode Command Line Tools disk image selected in the Finder

The Xcode Command Line Tools installer package in macOS Finder

macOS Terminal prompt offering to download Xcode Command Line Tools

A GNU compiler message in macOS Terminal