Installing Xcode

Step 1

We'll use the Terminal application to install all of our tools. The Terminal is a text-based interface on your Mac. It may feel a bit awkward at first after years of relying on a GUI interface, but the more you use the terminal the more efficiently you can get things done.

You can open a new Terminal by searching with Spotlight. Hit Command and Spacebar. Then type Terminal in the search bar.

You can also find it in the your Utilities folder. Applications Utilities

You'll use Terminal everyday in class, so make sure to add it to your dock for easy access.
Step 2

In your terminal type:

xcode-select --install
Step 3

Click on install

Step 4

Let's check to see if Xcode installed successfully. In your terminal type:

gcc --version

If installed correctly, you should see:

Configured with: --prefix=/Applications/ --with-gxx-include-dir=/usr/include/c++/4.2.1 Apple LLVM version 7.0.2 (clang-700.1.81) Target: x86_64-apple-darwin15.2.0 Thread model: posix