Installations
GitHub releases
See the releases page for the latest release. You can download the binary for your platform from there.
MacOS
Homebrew
There's a tap for git-age available at prskr/the-prancing-package.
brew install prskr/the-prancing-package/git-age
or
brew tap prskr/the-prancing-package
brew install git-age
Linux
RPM - Fedora, CentOS, RHEL, SuSE, ...
DNF
# Import the GPG key
curl https://api.github.com/users/prskr/gpg_keys | jq -r '.[] | select (.key_id=="1A80DDB584AF7DA7") | .raw_key' > /tmp/prskr.gpg
sudo rpm --import /tmp/prskr.gpg
dnf config-manager --add-repo https://code.icb4dc0.de/api/packages/prskr/rpm.repo
dnf install git-age
Zypper
zypper addrepo https://code.icb4dc0.de/api/packages/prskr/rpm.repo
zypper install git-age
DEB - Debian, Ubuntu, Mint, PopOS!, ...
sudo curl https://code.icb4dc0.de/api/packages/prskr/debian/repository.key -o /etc/apt/trusted.gpg.d/forgejo-prskr.asc
# distribution is currently only bookworm - but should work for other debian based distributions as well
echo "deb https://code.icb4dc0.de/api/packages/prskr/debian bookworm main" | sudo tee -a /etc/apt/sources.list.d/forgejo.list
sudo curl https://code.icb4dc0.de/api/packages/prskr/debian/repository.key -o /etc/apt/trusted.gpg.d/forgejo-prskr.asc
sudo apt update
sudo apt install git-age
Arch Linux
As part of the release process an AUR (Arch User Repository) package is published. You can either install it via the default mechanism:
git clone https://aur.archlinux.org/git-age-bin.git /tmp/git-age-bin
cd /tmp/git-age-bin
makepkg -si
cd
rm -rf /tmp/git-age-bin
or of course with your AUR wrapper like yay
yay -S git-age-bin
Windows
To install git-age on Windows, you can use winget or scoop.
Winget
winget install --id=prskr.git-age
Scoop
I maintain a bucket for git-age at prskr/scoop-the-prancing-package. To add the bucket and install git-age, run the following commands:
scoop bucket add the-prancing-package https://github.com/prskr/scoop-the-prancing-package
scoop install git-age