Xcode Command Line Tools
These tools include compilers and other utilities that many developer tools depend on. Installing them first ensures everything else works smoothly.
Steps
Install the tools
Run this command in Terminal. It will open a dialog asking you to install the tools. Click Install and wait for it to complete (usually takes 5-10 minutes).
xcode-select --install
Verify installation
Check that the tools are installed correctly. This should print a path to the command line tools directory.
xcode-select -p
Expected output
/Library/Developer/CommandLineTools