Skip to content

Instantly share code, notes, and snippets.

@sandrabosk
Created April 29, 2020 18:42
Show Gist options
  • Save sandrabosk/13d001df0101be196502ff39c46aca7b to your computer and use it in GitHub Desktop.
Save sandrabosk/13d001df0101be196502ff39c46aca7b to your computer and use it in GitHub Desktop.

[MAC] Install the Xcode Command Line Tools

Xcode is Apple's development bundle and can be installed by running the following command in terminal (don't type the $ sign):

$ xcode-select --install
  • Follow the installations step in the pop-up window.
  • Once Xcode is installed, start it up. The tools we need will not work unless the app has run once, and you’ve accepted the license agreement. You don’t need to do anything with the app. Just start it up (it might take a while to run the first time, even on a fast machine), click agree, and then you can exit from it.
  • Don't worry if you get the following message. It means it is already installed.

xcode-select: error: command line tools are already installed, use "Software Update" to install updates

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