nvm
nvm copied to clipboard
xcrun: error: invalid active developer path
Operating system and version:
OSX 12.2.1
nvm debug output:
nvm ls output:
How did you install nvm?
Terminal code
What steps did you perform? input "curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash" into terminal
What happened? xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
Failed to clone nvm repo. Please report this! ** Computer Name **:~ User Name
What did you expect to happen? to instal NVM
Is there anything in any of your profile files that modifies the PATH?
If you are having installation issues, or getting "N/A", what does curl -I --compressed -v https://nodejs.org/dist/ print out?
Have you installed the xcode command line developer tools? What happens if you run curl or git by themselves?
Also, what does which curl print out?
Running these should do the trick:
xcode-select --install sudo xcode-select -s /Library/Developer/CommandLineTools/
I had just updated my mac to the new version and it removed the Xcode-select installation, so that should fix everything 🚀
Closing until the OP responds.