How to install Git on Mac OS X (Leopard, Snow Leopard)

First you need 10 pounds of thermite, a magnesium ribbon… Wrong window.

It’s not science, or even computer science. This is what you do

  1. Peruse your way to http://code.google.com/p/git-osx-installer/
    (Here’s a direct link to  the latest Git OS X Installer. Uploaded of September 17th, 2009. V1.6.4.4… Good lord. I’ll let you know when version 5 comes out. I kid, I kid.)
  2. Open it.
  3. Run the git-1.6.4.4-intel-leopard.pkg (A basic installer. Note: You’ll need administrative privileges.)
  4. Complete the Installation
  5. Open up a terminal
    1. Change directories to the mounted image
      bash$ cd /Volumes/Git\ 1.6.4.4\ Intel\ Leopard/
      bash$ ls
      README.txt                    setup git PATH for non-terminal programs.sh
      git-1.6.4.4-intel-leopard.pkg            uninstall.sh

      bash$ ./setup\ git\ PATH\ for\ non-terminal\ programs.sh
    2. Run the shell script (last line above)

Re-open your terminal (reset your session) and you’ll be good to go. Up and running with Git in no time!

Would like to extend a very heart thanks to the people over at the Google Code page. Specifically Tim Charper, whoever you are — thank you for your good work!

That’s it. There’s nothing else to do. You’re f$#%ing done.

Peace,
Bryan

Related reading

  • No Related Post

5 Responses to “How to install Git on Mac OS X (Leopard, Snow Leopard)”

  1. Andrey  on April 25th, 2010

    hi…
    That’s great post
    It’s work on my computer

    Thanks

  2. tplatt  on July 8th, 2010

    Made it easy! Thank you!

  3. JarrodN  on December 13th, 2010

    I had to run this to add the path:

    export PATH=/usr/local/git/bin:$PATH

  4. Kirn  on January 4th, 2011

    Thanks a lot, very useful!


Leave a Reply