diff --git a/README.md b/README.md index 3df7c36..1851e12 100644 --- a/README.md +++ b/README.md @@ -108,56 +108,71 @@ Keep in mind that people might not protect SSH keys long-term, since they are re ## Installation -On macOS or Linux, you can use Homebrew: + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
Homebrew (macOS or Linux) + brew tap filippo.io/age https://filippo.io/age
+ brew install age +
MacPorts + port install age +
Ubuntu 21.04+ + apt install age +
Debian 11+ (Bullseye) + apt install age +
Arch Linux + pacman -Syu age +
Fedora 33+ + dnf install age +
OpenBSD 6.7+ + pkg_add age (security/age) +
FreeBSD + pkg install age (security/age) +
NixOS / Nix + nix-env -i age +
-``` -brew tap filippo.io/age https://filippo.io/age -brew install age -``` +On Windows, Linux, macOS, and FreeBSD you can use [the pre-built binaries](https://github.com/FiloSottile/age/releases). -On macOS, you can also use [MacPorts](https://www.macports.org): -``` -sudo port selfupdate -sudo port install age -``` - -On Windows, Linux, and macOS, you can use [the pre-built binaries](https://github.com/FiloSottile/age/releases). - -If your system has [Go 1.13+](https://golang.org/dl/), you can build from source: +If your system has [Go 1.13+](https://golang.org/dl/), you can build from source. ``` git clone https://filippo.io/age && cd age go build -o . filippo.io/age/cmd/... ``` -On Arch Linux, age is available in the official repositories: - -```bash -sudo pacman -Syu age -``` - -On Fedora 33 and later, [`age`](https://src.fedoraproject.org/rpms/age) is available through `dnf`: - -``` -dnf install age -``` - -On OpenBSD -current and 6.7+, you can use the port: - -``` -pkg_add age -``` - -On all supported versions of FreeBSD, you can build the security/age port or use pkg: - -``` -pkg install age -``` - -On NixOS, or via Nix, you can install age using: - -``` -nix-env -i age -``` - Help from new packagers is very welcome.