• Select “Install” to begin installation of XCode Command Line Tools on macOS Big Sur: If additional tools need to be installed accept the prompts give to proceed. Then wait for the downloading and installation of XCode Command Line Tools on macOS Big Sur to complete. Confirm if the installation was successful by running the following command.
  • Referring to the help text, running xcode-select -r will reset xcode, which may help with install-time issues. Usage: xcode-select options Print or change the path to the active developer directory. This directory controls which tools are used for the Xcode command line tools (for example, xcodebuild) as well as the BSD development commands.
  • How to install Xcode command line tools on a Mac? - MacPaw › See more all of the best online courses on www.macpaw.com Courses. Posted: (4 days ago) Dec 11, 2019 Mac users with macOS Mojave and macOS Catalina, and new operating systems in place can now install Command Line Tools from the Xcode IDE without needing to install the entire Xcode package, or opening an Apple developers account.

Mac Install Command Line Tools For Xcode › See more all of the best online courses on www.netlify.app Courses. Posted: (1 week ago) Apr 21, 2021 Learn about the key features available in Xcode, the integrated development environment for building apps for Mac, iPhone, iPad, Apple Watch, and Apple TV.

If you decide to become an Apple developer (develop for Apple platforms), the first thing you’ll need is Xcode. Xcode includes everything you need to create amazing applications for all Apple platforms. In this article, I will show you how to install Command line tools for Xcode in macOS. Let’s begin.


Recently I was needed the “Command Line Tools for Xcode”, more precisely the DMG file with the installer of the “Command Line Tools for Xcode” version 11.3.1. All I need to do to get the needed DMG file is go to the developer.apple.com website, find the latest version of the file I need and download it to my computer. You can learn how to download from the developer.apple.com website HERE.

  • A DMG file is a mountable disk image used to distribute software to the macOS operating system. Today, software developers typically build and distribute applications for macOS as DMG. In other words, DMG files are containers for apps in macOS.

Let’s begin

Installation of “Command Line Tools for Xcode” is a really simple process. For this, we need to follow few simple steps. Now let’s get started :)

Download “Command Line Tools for Xcode” (in my case version is 11.3.1) from the developer.apple.com. website. It will downloads directly to our “Downloads” folder as an DMG image file named Command_Line_Tools_for_Xcode_11.3.1.dmg.

Note! You can find detailed instructions on how to download the “Command Line Tools for Xcode” HERE.

Now we can install the “Command Line Tools for Xcode” using the Command_Line_Tools_for_Xcode_11.3.1.dmg file downloaded in the previous step.

Note! This is a standard installer, if you have ever installed applications this way (and not just by transferring the application to the Applications folder), then you know how to do it. Next, I will describe the installation process in detail for those who are faced with this for the first time.

Double-click on the Command_Line_Tools_for_Xcode_11.3.1.dmg file to open it.

In the opened window, double-click on the Command_Line_Tools.pkg file to launch the installation wizard, and follow the installation wizard instructions.

Welcome to the Command Line Tools Installer. Click on Continue.

Agree with the “License Agreement” by clicking the Continue button and then Agree.

Click the Install button to begin the process of installation.

Enter the password for your computer and click on Install Software.

Let the installation do its work and don’t interrupt it. This can take a while, so be patient.

When installation is complete, you will see the message “The installation was successful. The software was installed”. Next, click on Close.

After installation, the installation wizard asks us whether to delete the installer file, since it is no longer needed. You can remove or leave it as you wish.


That’s it, you’re done! Now you know how to install Command line tools for Xcode. So simple isn’t it?

I hope this article helped you to learn how to install Command line tools for Xcode in macOS. If this article has helped you then please leave a comment

Thanks for reading!

Milena is a web designer and illustrator. She spends her time translating our articles and wrote her own articles. Her personal website can be found at milenakiseleva.com.

Follow Milena

Only the newest, released Xcode is exclusively available from the Mac App Store. No Apple products are ever released through package managers (e.g. homebrew, macports, etc.), or non-Apple servers. Xcode 9, and its corresponding Command Line tools require Sierra 10.12.6 or later.

Command Line Tools For Xcode Install

Latest Xcode and Command Line tools for El Capitan:

  • Xcode 8.2.1
  • Command Line Tools (macOS 10.11) for Xcode 8.2 (Dec. 11, 2016)

You appear to have these items installed.

These are available through either a free, or paid developer account. You need to allow Xcode to install optional components when you run it, and encounter the related dialog. The above bulleted items are what I have installed.

Optional documentation installation is available via Xcode : Preferences.

I have Xcode 8.2.1 installed.

Command Line Tools For Xcode Install Command

xcode-select --version : 2343

Install Command Line Tools For Xcode 12

xcode-select -p : /Applications/Xcode.app/Contents/Developer

Install Command Line Tools For Xcode Catalina

gcc --version: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/ usr/bin

Installing Command Line Tools For Xcode Stuck

clang --version: same location

Installing Command Line Tools For Xcode Stuck Homebrew

Oct 16, 2017 3:17 AM