thumb

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.

Preamble

Some time ago 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 “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.

How to install Command line tools for Xcode How to install Command line tools for Xcode

Double-click on the Command_Line_Tools.pkg file in the window that opens to launch the installation wizard, and follow the installation wizard instructions.

How to install Command line tools for Xcode

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

How to install Command line tools for Xcode

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

How to install Command line tools for Xcode

Click the Install button to begin the process of installation.

How to install Command line tools for Xcode

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

How to install Command line tools for Xcode

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

How to install Command line tools for Xcode

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

How to install Command line tools for Xcode

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.

How to install Command line tools for Xcode

Conclusion

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 helped you then please leave a comment :smiley:

Thanks for reading!