Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

General Discussion

Sandeep Krishnan
Sandeep Krishnan
9,730 Points

I was told that Mac comes with GIT pre installed but I am not able to find it neither is my downloaded version working

Please help me....I tried to search for GIT using > git --version But invain Then I went to Git site dowloaded the latest version Still no luck... What have I done incorrectly ?

I am just getting the following error

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

2 Answers

Oliver Duncan
Oliver Duncan
16,642 Points

Have you installed Xcode developer tools? Type this into the terminal:

xcode-select -p

If you haven't, install with:

xcode-select --install
Sandeep Krishnan
Sandeep Krishnan
9,730 Points

thanks Mate - I got it installed from http://railsapps.github.io/xcode-command-line-tools.html

the link was very useful - IN stalled the Xcode command line code...with this command - xcode-select --install ( and it didi it !!!)

Hope i can run GIT now ?