Posts Learn Components Snippets Categories Tags Tools About

Xcode Command Line Tools Mac Installation Guide

Learn how to Install Xcode Command Line Tools on a Mac machine using these steps by steps guide

Created on Nov 09, 2021


In this short snippet, you will learn how to install Xcode command-line tools on a Mac Machine. There are two steps that you need to  follow to download the Xcode command-line tools so let's get started

Step 1: Install Xcode from App Store

First, you have to install Xcode from the app store and then let it run and install.

Step 2: Open terminal and Run Install command

Second, you need to run the command to install the Xcode command-line tools. Copy and paste the code below in your terminal.
xcode-select --install

Step 3: Verify If Installation success

To verify if the installation success you can run the following command.
xcode-select -p
And now the output will be as follows:

If you like our tutorial, do make sure to support us by being our Patreon or buy us some coffee ☕️