Received the following error after upgrading to Ventura on my MacBook Pro M1 Max while trying to run git
.
 ~/ git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
This kind of stuff can stop you in your tracks if you're not sure what to search for so I though I would share this quick answer that helped me.
This is the command that allowed me to resolve my issue:
xcode-select install
This will install the Xcode Command Line Tools, a smaller package for mac software devs to use tools that run from the command line. More info from freeCodeCamp
Once this was completed I was able to use git from the command line as I expected to.
Top comments (0)