This blog post is how to get git going after upgrading to Catalina (10.15).
I use git as a method of storing all my presentations and work files. It was a great way to learn how to use git. I use git commands and run them in the Terminal app on my mac.
However after upgrading to Catalina this weekend:
I always run
to see what changes I have locally.
I then run
in case I’ve made change to source control on my other computer and need to merge changes.
However I got this error:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
The fix was relatively easy and I’ve had to use it before for other apps when upgrading macOS:
It took about 3 minutes to install the latest XCODE utilities/libraries and then everything worked again.
You can also try
But my opinion was – I’ve upgraded the OS I may as well upgrade the utilities as well.
3 thoughts on ““xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun” – git in terminal does not work after macOS upgrade to Catalina”
Thanks! Right on the money.
LikeLiked by 1 person
Thanks this really helps me!
Thanks for posting this! I have referenced this post several times to fix my local machine configuration.