Skip to content

Git Installation: Mac OS X

bryson moore edited this page May 24, 2014 · 3 revisions

Note: All lines in code blocks should be sequentially executed in Terminal.

Install Homebrew.

Homebrew is an OS X package manager that allows convenient installation of thousands of modules. If you haven't already, you'll want to install Homebrew so you can take advantage of its packages.

ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"

Be patient until Homebrew has completed installation.

Install Git.

Run the following command:

brew install git

This simple command will download, extract, and install the latest version of Git and its respective dependencies.

Verify Git is installed correctly.

Simply check the version and make sure no errors pop up.

git --version

If all is well, congratulations! You've successfully installed Git on Mac OS X.

If you have any questions (about the contest, git, Maven etc), please don't hesitate to send us a tweet @tenjava or ask in our IRC channel.

Clone this wiki locally