Skip to content

Installing git on my Mac - error: invalid active developer path #22994

Discussion options

You must be logged in to vote

You need to install the command line developer tools on Mac OS X. OS X already ships with git and after an update and generally a new machine setup, you need to install these tools for things to work properly.

To do this, simply run this in your Terminal:

xcode-select --install

and follow the on-screen instructions (which is just a single press of a button, if I remember correctly), and then git should work flawlessly!

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants