Installing Git on Mac OS X versions prior to 10.9: Segmentation fault 11

So I was installing Bower onto my work machine (currently running OS X 10.7) and installed the lastest versions of Node and Git.

When attempting to install Bower I received an error from Git, and on closer inspection any git command was producing ‘Segemntation Fault’ or ‘Illegal instruction’  errors.

Looking at the comments on the Git Source Forge page it seems that the latest version of Git is not playing nice with older versions of OS X.

The simple fix to the problem was to uninstall Git completely:
rm -rf /usr/local/git
rm /etc/paths.d/git
rm /etc/manpaths.d/git

And download a legacy version to install, 10.8.4.2. (https://code.google.com/p/git-osx-installer/)

Leave a Reply

Your email address will not be published. Required fields are marked *