Pick your OS
| detailed instructions | quick install |
|---|---|
| Linux | |
| Debian | apt-get install git-annex |
| Ubuntu | apt-get install git-annex |
| Fedora | yum install git-annex |
| ArchLinux | pacman -S git-annex |
| AlpineLinux | apk add git-annex |
| NixOS | nix-env -i git-annex |
| Gentoo | emerge git-annex |
| Guix | guix package -i git-annex |
| Void | xbps-install git-annex |
| ScientificLinux | |
| RHEL | |
| openSUSE | zypper in git-annex |
| Docker | |
| conda | conda install -c conda-forge git-annex |
| OSX | |
| Homebrew | brew install git-annex |
| FreeBSD | pkg install hs-git-annex |
| OpenBSD | pkg_add git-annex |
| Android | beta |
| Windows | beta |
| PyPI | uv tool install git-annex |
Historical builds
Many of historical builds available from the https://downloads.kitenet.net/.git/ git-annex repository. Visit downloads.kitenet.net for more information.
Building it yourself
git-annex is Free Software, written in Haskell. Experienced users should not find it too hard to build and install it from source.
I'm running Ubuntu:
Installed git annex with: "apt-get install git-annex".
And here is the my "git-annex version":
When i'm trying to "git annex init --version=6" it says: "Usage: git-annex init [DESC]".
Meaning v5 git annex does not support "--version" option for "init" command.
If i'm running "git annex upgrade", it says: "upgrade . ok".
But then "git annex version" shows v5 again.
Is it possible to upgrade from v5 to v6 currently ?
Am i doing anything wrong ?
@dittigas git-annex can be built without the webapp, if the libraries it uses are not made available at build time. I suggest you get in touch with the Fedora maintainers and ask them to enable the webapp in their builds.
apt-get install neurodebianon a recent debian/ubuntu or follow NeuroDebian website for instructions).This happens sometimes and will eventually get fixed when joey notices it. Currently the binary is only on his laptop apparently.
You can use an older version which is eventually available on archive.org:
[[!format bash """ yann in yann-desktop-nixos in …/OSX/current/10.15_Catalina on master took 2s123ms 🐟 ❯ git co d8a7d5d54d24d17810f07c0756e7334e998650fe HEAD ist jetzt bei d8a7d5d54d publishing git-annex 10.20250630 10.20250606 yann in yann-desktop-nixos in …/OSX/current/10.15_Catalina on HEAD (d8a7d5d) 🐟 ❯ git annex whereis whereis git-annex.dmg (1 copy) 5dc2ccd1-e534-4dae-8e8c-f31c8015e26e -- archive.org via S3
The following untrusted locations may also have copies: 00000000-0000-0000-0000-000000000001 -- web
web: http://archive.org/download/git-annex-builds/SHA256E-s28610967--7fc0dbf3f0a1f275a95730899327694b90dcd60c4ba8d8070a3efde44983a719.dmg ok """]]
So for example this link:
Hello everyone.
Be aware that your distribution's package may be very old. For example, at the time I write this, latest Debian stable is Debian 7.5 which is 2 months old. But git-annex package there is two years old (tomorrow, it will be exactly two yezrs old).
So, beware. If following online walkthrough, either install a more recent git-annex (e.g. from Debain backports) or follow instructions from your local
/usr/share/doc/git-annex/html/walkthrough.htmlinstead.