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

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

If you recently updated to macOS High Sierra and tried to run git commands you would face this error
Software Development
by Jey Geethan | March 16, 2018

If you recently updated to macOS High Sierra and tried to run git commands you would face this error:


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


You can do the following to solve this problem:


xcode-select --install 


This will basically install/reinstall the xcode developer tools and your problem will be solved.


Jey Geethan

Jey Geethan is a poet, author and an entrepreneur.


Related Articles

Software Development

iTerm2 vs Plain Old Terminal - Which One Is The Best?

by Jey Geethan | August 28, 2017
iTerm2 vs Plain Old Terminal - Which One Is The Best?
Have you ever wondered if you have an alternative that will be better and useful than the default terminal?
Software Development

Ruby on Rails - Complex route constraints made easy

by Jey Geethan | March 31, 2019
Ruby on Rails - Complex route constraints made easy
In Rails, we know that the routes are the most important entry-point where we define the which url hits which controller. We also know how to define the resources and add some conditions to the routing.