How to Install Apple Command Line Tools

Nov 13, 2021 · 1 min read · Post a comment
How to Install Apple Command Line Tools

Apple Command Line Tools are part of the Xcode, the official integrated development environment (IDE) for MacOS. The installation is a one-liner, so let’s just jump right into it.


  • Terminal


Step 1. Open Terminal and run the following command:

~ xcode select --install

Step 2. Verify the installation.

~ xcode-select -p

Example output:



Although you could install the full Xcode package which requires 40GB disk space, it’s not recommended unless you are developing apps for an Apple device. Feel free to leave a comment below and if you find this tutorial useful, follow our official channel on Telegram.