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

git-annex is not available in MacPorts, but can be built from source using MacPorts tools. See MacPorts.

building it yourself

See porting.

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.

Comment by http://joeyh.name/ Tue Jul 24 15:09:29 2012

Hi,

Are there plans to provide a git-annex.app that works on Snow Leopard?

Currently there are only installers for the Lions.

http://downloads.kitenet.net/git-annex/OSX/current/

Thanks :-)

What we need to provide a Snow Leopard or other version build, is access to a box running that version of OSX, or someone with a box that doesn't mind compiling stuff and setting up the autobuilder (not very hard).
Comment by http://joeyh.name/ Fri Jan 18 17:25:36 2013
If the process is very automatic I might contribute. I mean, if you tell me, install this and that package and run this script once a week, I might be able to help. I have a MacBook from 2007 with Snow Leopard. I also have macports installed, but I'm not a programmer.
If you can get it to build using the instructions for Brew (or MacPorts) on this page, it's easy to get from there to a distributable app.
Comment by http://joeyh.name/ Fri Jan 18 20:16:52 2013
I'm using the annex assistant from the annex bundle for the convenience, but sometimes I use git-annex directly from the command line. I have /Applications/git-annex.app/Contents/MacOS/ in my path, but is there any way you could build the app bundle with the manpage in there so I could add it to my MANPATH?

I have fiddled with the fresh (as of Oct 2nd) build of assistant on OS X 10.8.5, and there has been a lot of problems with bundled software

bundled git is an old 1.7.x version which keeps saying in the daemon logs it is too old to honor .gitignores etc at the same time I have git 1.8.4 installed through homebrew which works very nicely throughout my system

I also have homebrew-installed gpg2:

$ gpg2 --version gpg (GnuPG) 2.0.21 libgcrypt 1.5.3

(and have briefly experimented with using GPGSuite from gpgtools.org, which kept bailing with invalid autolocate directive in gpg.conf)

however there is some unidentifiable gpg binary bundled with the assistant, which cannot connect to gpg-agent from gpg2, and doesn't work with GPGSuite (see above)

is there a way to completely forgo usage of bundled software and have the webapp use whatever is already available on the system?

@David, the bundle contains the man page since a while.

@Michael, the best way to get a git-annex that does not use those bundled programs is probably to instead install it using homebrew.

Comment by http://joeyh.name/ Fri Aug 15 19:26:07 2014
Why are there different versions for 10.7, 10.8, 10.9 anyway? Is it not possible to produce an executable compatible with all these? I mean, it's the same architecture and executable format, not? I guess there has to be a reason, explanations are welcome :-)
Comments on this page are closed.