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.
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.
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
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.
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
Agree with the “License Agreement” by clicking the
Continue button and then
Install button to begin the process of installation.
Enter the password for your computer and click on
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
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 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.