Reputation: 1082
I cannot find an easy way to upgrade git. Is there a way to upgrade from the command line in the terminal?
The git webpage recommends:
$ brew install git
Brew
is a command not found...
I used the git-osx-installer on sourceforge, but after installing I don't see the software in my programs folder. Also $ git --version
shows that I have still version 2.15.0
Unfortunately, I don't remember how I managed to install git for the first time.
Upvotes: 0
Views: 1167
Reputation: 21
You can type which git
to see where git
happens to be installed on your computer. brew
is not found because it is not a built-in to the system. You will have to install it first. For doing that, please see the instructions at Homebrew's website. Once you have brew
installed, you can go on reinstalling git
.
Upvotes: 2