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.


Related Articles

Why Microservices?
Software Development

Why Microservices?

by Jey Geethan | December 16, 2022
I have a few tidbits about why to use microservices and why it makes sense to create few microservices as a side project and learn from the same

Show full file path in the title bar of Sublime and VS Code
Software Development

Show full file path in the title bar of Sublime and VS Code

by Jey Geethan | March 22, 2018
If you feel that you want to show the full file paths in your favorite editors - Sublime Text and Visual Studio Code, follow the simple steps