1. Open up a terminal from Finder or Spotlight and type in or paste in:
gcc
Then you should be prompted to install the X Code command line tools like the image below. Click install and allow it to download and install.

gcc
Then you should be prompted to install the X Code command line tools like the image below. Click install and allow it to download and install.