git-annex.app
For easy installation, Jimmy Tang builds a standalone git-annex.app of the git-annex assistant.
- beta release of git-annex.app
- daily build of git-annex.app (build logs)
- past builds -- directories are named from the commitid's
using Brew
sudo brew update sudo brew install haskell-platform git ossp-uuid md5sha1sum coreutils pcre cabal update cabal install git-annex --bindir=$HOME/bin
using MacPorts
Install the Haskell Platform from http://hackage.haskell.org/platform/mac.html. The version provided by Macports is too old to work with current versions of git-annex. Then execute
sudo port install git-core ossp-uuid md5sha1sum coreutils pcre sudo ln -s /opt/local/include/pcre.h /usr/include/pcre.h # This is hack that allows pcre-light to find pcre sudo cabal update cabal install git-annex --bindir=$HOME/bin
PATH setup
Do not forget to add to your PATH variable your ~/bin folder. In your .bashrc, for example:
PATH=~/bin:/usr/bin/local:$PATH
See also:
I've moved some outdated comments about installing on OSX to old comments. And also moved away some comments that helped build the instructions above.
I tried installing with cabal and homebrew on Mountain Lion. After cabal install git-annex I get:
There is no directory named macos inside of standalone: