git-annex.app

For easy installation, use the prebuilt app bundle.

To run the git-annex assistant, just install the app, look for the icon, and start it up.

To use git-annex at the command line, you can add git-annex.app/Contents/MacOS to your PATH

Alternatively, from the command line you can run git-annex.app/Contents/MacOS/runshell, which makes your shell use all the programs bundled inside the app, including not just git-annex, but git, and several more. Handy if you don't otherwise have git installed.

autobuilds

Joey autobuilds the app for Mavericks, thanks to Kevin McKenzie for hosting the autobuilder.

using Homebrew

git-annex is now available in Homebrew!

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 gnutls libxml2 libgsasl pkgconfig
sudo cabal update
PATH=$HOME/bin:$PATH
cabal install c2hs 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=$HOME/bin:$PATH

See also:

  • OSX's haskell-platform statically links things
  • OSX's default sshd behaviour has limited paths set