Installing git and MacPorts on Mac OS X
Juli 25th, 2008As installing git and MacPorts on my MAC wasn’t as simple as I thougt before, here are the necessary steps to get MacPorts and git on your Leopard:
Install Xcode 3.0, which can be found on your Mac OS Setup CD, or here.
Install X11, which you can also find on the OS X Setup CD
![]()
Download and Install MacPorts
Update your ~/.profile:
1 | export PATH=/opt/local/bin:/opt/local/sbin:$PATH |
1 | export MANPATH=/opt/local/share/man:$MANPATH |
![]()
Install git via MacPorts:
1 | sudo port install git-core |
A more comprehensive guide on installing MacPorts can be found here.