-
-
Save gaquino/87bdf0e6e852e445c0489379d3e9732a to your computer and use it in GitHub Desktop.
If you are facing an error like that on new MacOS version. | |
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun | |
It means that you need to install XCode command line, open a Terminal and run this command: | |
$ xcode-select --install | |
Note: | |
If you want to download and install Command Line tools manually, it can be downloaded from: https://developer.apple.com/download/more/ |
Super! Thank you!
It worked like a charm! Thank you!
It worked on a MacBook Pro 2020 with MacOS Big Sur 11.2.1. Thanks !!
It works on my Mac min (M1, 2020). Thanks.
It worked on a Macbook Pro 2017 with MacOS Big Sur 11.2.2.
Many thanks.
Worked for me: MacOS Big Sur 11.2.1.
Thank you!
This worked!
Updated my M1 Macbook Pro to Big Sur 11.2.2 and had this problem.
I ran the following in my terminal:
xcode-select --install
This fixed the issue.
Works for me, thanks a lot.
macOS Big Sur 11.2.2
MacBook Pro 2019
Thank you
Upgraded my mac book pro from High Sierra to Big Sur. Works fine for me.
Thank you!
I have to run the xcode-select --install
with each Big Sur update. Does anyone else run into this too??
Thank you :)
Big Sur 11.2.3
MacBook Pro 13 M1 2020
works for me. thanks!
It works, thank you!
Thank you!
Works for 12.0.1 Monterey
thanks for the tip
it did not work for me. What should i do?
Thank you!
Thank you! Worked for me. Macbook Pro 2015, Monterey, Quad Intel i7
Thanks - this worked for me too :)
worked for me with monterey
171hrs download time... woow
FYI: it says 200+ hours 300+ or even 400+ but it got completed in less than an hour.
You can just exec brew install script without removing it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
it works for me
You can just exec brew install script without removing it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
this worked for macbook pro os montery 12.4, thanks !
Thanks for sharing, this worked well!
Worked in MacBook Pro 2017 Monterey OS 12.6, thanks.
perfect, thanks
Wops! That's awesome! Same error with M1, Macbook Pro 2021, Ventura OS.
nice, thank
I had the same problem while upgrading to macOS Ventura, and that solved the issue.
Thanks 🥳
You can just exec brew install script without removing it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
this worked for macbook pro os montery 12.4, thanks !
This worked for me on my MacBook Pro M1 [ Ventura update ]
Works on Macbook Pro M1 Pro. MacOS Ventura 13.0.1 with this extra command after the one here
sudo xcode-select --switch /Library/Developer/CommandLineTools/
Macbook M2 Ventura - works fine!
Great! Thank you!
Thanks - That works!
Thanks!
Thanks!
If saving space and dont want to install of xcode, follow this and select latest supported version of OS
https://apple.stackexchange.com/questions/418048/how-much-disk-space-do-the-command-line-developer-tools-take-up
https://developer.apple.com/download/all/?q=command%20line%20xcode%2013
Same issue again after the Sonoma Update.
It works for me, thank you!
Macbook Pro, 13-inch, M1 2020
Sonoma 14.4
You can just exec brew install script without removing it
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"