Make sure everything is up to date. Go to "System Preferences" > "Software Updates". If necessary, update your system.
2. Install Xcode and its "Command Line Tools"
- Go to App Store and install Xcode.
- Open Xcode and accept the terms
Make sure everything is up to date. Go to "System Preferences" > "Software Updates". If necessary, update your system.