

If you don’t know what Homebrew is, I’ve talked about it in a previous post where I also included instructions on how to install Homebrew. Beware : the code available in the latest.

Xcode and 'command line developer tools' (sudo xcode-select -install) should be also installed. This page presents the steps of the installation on a Mac system using HomeBrew. But if you want to double-check, you can always ask Terminal to show you which version of Git is installed on your computer with the following command: git -version MicMac is an open source project and you can download the source code and compile the project yourself. Terminal should let you know when the installation is complete.

Hit Enter and give Terminal a few minutes to install Git (I think it took maybe a minute or two on my Macbook Pro). If you have Homebrew installed already, all you need to do is open up Terminal and type: brew install git There is, however, a third option: installing Git with Homebrew on the Terminal. Especially since Xcode has a tendency to increase its disk space usage yearly. If your plan is to develop iOS apps, that’s fine, but if you’re not planning to really use Xcode much, it’s just a waste of space. The problem I have with Xcode is that it takes up a lot of space on your computer. Which is the primary tool to use if you want to develop apps for iOS. At first, it installed the basic things relating to Xcode. What happened (include all command output) The install fails at a certain point. I did try one solution that tries installing only the tap homebrew/core but that fails too. The problem seems to be the homebrew/core.
Install git on mac homebrew for mac#
But this is probably the most tedious version.Īnother option for Mac is to install Git via Xcode. The reason for installing brew is for upgrading my git on my mac. And downloading and installing the latest version from there. The most obvious one is to go to the Git website. There are several ways to install Git on Mac. When you learn to code, you’ll probably also want to learn and install Git for version control.
