Skip to content

Instantly share code, notes, and snippets.

@caseyanderson
Last active September 19, 2016 23:32
Show Gist options
  • Save caseyanderson/ceacdbad7177177ca0a2cd8c109718cc to your computer and use it in GitHub Desktop.
Save caseyanderson/ceacdbad7177177ca0a2cd8c109718cc to your computer and use it in GitHub Desktop.
how to check to see if you have the command line tools

The Command Line Tools

Is Xcode on my computer?

Do you have Xcode on your computer? We are not going to use it in this class, but need something that Apple ships with it (unfortunately there is not an alternative to this for Mac OSX). To check to see if you have Xcode on your CPU, go to the Terminal (In finder navigate to Applications/Utilities and double click on the Terminal) and type the following:

xcode-select -p

If you see this as a response:

/Applications/Xcode.app/Contents/Developer

Then go ahead and enter the following command: xcode-select --install and then click Install.

If you do NOT see this as a response:

/Applications/Xcode.app/Contents/Developer

Then you do not have XCode and need to download it from here.

Once you have downloaded XCode, go back to your Terminal and enter this command:

xcode-select --install

Click "Install" to download and install Xcode Command Line Tools (it takes a while so maybe go make some food or get a cup of coffee or something).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment