Skip to content

Install and update

Antiphon ships two binaries: antiphon (the client) and antiphond (the daemon that talks to your mail servers). Both are installed together by every route below.

The short way

curl -fsSL https://antiphon.net/install.sh | sh

The installer picks a route for your machine (Homebrew, AUR, Copr, Nix, or a prebuilt binary), verifies checksums, and names any missing runtime dependency.

Then add your first account, or pick your package manager below.

By package manager

yay -S antiphon        # the released version
yay -S antiphon-git    # or track master

Updates arrive with your normal yay -Syu.

sudo dnf copr enable donquinleone/antiphon
sudo dnf install antiphon

Antiphon is built for current Fedora releases through Fedora Copr. Updates arrive with your normal sudo dnf upgrade.

nix profile install \
    git+https://git.sr.ht/~donquinleone/antiphon

Update with nix profile upgrade --all (or pin however your flake discipline prefers).

brew tap donquinleone/antiphon \
    https://git.sr.ht/~donquinleone/homebrew-antiphon
brew install antiphon

Updates arrive with brew upgrade.

Download the x86_64 tarball from the release page, check the .sha256 sidecar, and put antiphon and antiphond somewhere on your PATH. To update, do the same with the newer tag; your mail and settings are never inside the binaries. There is no prebuilt arm tarball yet: on aarch64, build from source below (or through the AUR or the Nix flake).

git clone https://git.sr.ht/~donquinleone/antiphon
cd antiphon
cargo install --path antiphon --locked
cargo install --path antiphond --locked

Update with git pull and the same two commands.

Check it

antiphon --version

Prints a version? You're done. Antiphon needs notmuch (search) on PATH everywhere, plus gnupg only if you use OpenPGP. Package routes install notmuch for you; if yours did not, install it:

brew install notmuch      # macOS
sudo pacman -S notmuch    # Arch
sudo dnf install notmuch  # Fedora
sudo apt install notmuch  # Debian/Ubuntu

With the binaries on your PATH, running antiphon on a machine you have not set up yet drops straight into the first-run wizard, the same one antiphon setup opens.

Next: add your first account.