How to install Command line tools for Xcode
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
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.
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 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.