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.
Step 1. Open a terminal and run the following command:
~ xcode select --install
Step 2. Verify installation:
~ xcode-select -p
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.