Error Instaling git


#1

Hello
I can’t install git. Can someone help me?
This is the error after I enter the command “brew install git”:

xxxx-MacBook-Pro:~ xxxx$ brew install git
Updating Homebrew…
==> Tapping homebrew/core
xcrun: error: invalid active developer path (/Developer), missing xcrun at: /Developer/usr/bin/xcrun
Error: Failure while executing; git clone https://github.com/Homebrew/homebrew-core /usr/local/Homebrew/Library/Taps/homebrew/homebrew-core --depth=1 exited with 1.
Error: Failure while executing; /usr/local/bin/brew tap homebrew/core exited with 1.

Thank you in advance


#2

Hi @xuxuines

Try xcode-select --install and then try again.