How To Install XCode Command Line Tools
Categories:
This tutorial will guides you on how to install Xcode command line tools
- Open XCode Command Line Tools Installer
On terminal or iterm or another terminal emulator type
xcode-select -
–install<br />
<li class="schema-how-to-step" id="how-to-step-1593687301136">
<strong class="schema-how-to-step-name">Install XCode command line developer tools</strong> <p class="schema-how-to-step-text">
Click <strong>Install</strong><img width="573" height="302" src="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-1.png" class="attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-1.png 573w, https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-1-512x270.png 512w" sizes="(max-width: 573px) 100vw, 573px" />
</p>
</li>
<li class="schema-how-to-step" id="how-to-step-1593687302118">
<strong class="schema-how-to-step-name">License Agreement</strong> <p class="schema-how-to-step-text">
Read the license agreement and click <strong>Agree</strong>.<img width="752" height="614" src="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-2.png" class="attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-2.png 752w, https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-2-612x500.png 612w, https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-2-70x56.png 70w, https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-2-331x270.png 331w" sizes="(max-width: 752px) 100vw, 752px" />
</p>
</li>
<li class="schema-how-to-step" id="how-to-step-1593687303230">
<strong class="schema-how-to-step-name">Installer is downloading software</strong> <p class="schema-how-to-step-text">
This might take some time depends on your internet connection. <img width="610" height="268" src="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-3.png" class="attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-3.png 610w, https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-3-604x265.png 604w" sizes="(max-width: 610px) 100vw, 610px" />
</p>
</li>
<li class="schema-how-to-step" id="how-to-step-1593687304924">
<strong class="schema-how-to-step-name">Installing Software</strong> <p class="schema-how-to-step-text">
XCode command line tools is being installed.<img width="610" height="268" src="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-5.png" class="attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-5.png 610w, https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-5-604x265.png 604w" sizes="(max-width: 610px) 100vw, 610px" />
</p>
</li>
<li class="schema-how-to-step" id="how-to-step-1593687305837">
<strong class="schema-how-to-step-name">Installation finished</strong> <p class="schema-how-to-step-text">
XCode command line tools installation finished. <img width="610" height="238" src="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-6.png" class="attachment-full size-full" alt="" loading="lazy" style="max-width: 100%; height: auto;" srcset="https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-6.png 610w, https://www.howtodojo.com/wp-content/uploads/2020/07/install-xcode-command-line-tools-6-604x236.png 604w" sizes="(max-width: 610px) 100vw, 610px" />
</p>
</li>
Summary
In this tutorial we learn how to install XCode Command Line Developer Tools. Now you can use tools line tools like cc
or gcc
.