Skip to main content

Download the authentik Agent

authentik: 2025.12.0+

The authentik Agent is a service that you install on Linux, macOS, and Windows devices to enable device compliance, local device login, SSH authentication, and CLI application authentication. The downloads on this page always provide the latest release.

Download for macOS or Windows​

On macOS, you can also install the authentik Agent with Homebrew:

brew install --cask goauthentik/tap/authentik-agent
info

Downloading the installer is only the first step. To create an enrollment token, install the package, and join the device to an authentik domain, follow the macOS or Windows deployment guide. For more than a handful of devices, use MDM or automated deployment instead.

Install on Linux​

On Linux, you install the authentik Agent from packages rather than with an installer.

The authentik Agent consists of the following packages:

PackageInstall onContents
authentik-cliEvery deviceThe ak command.
authentik-sysdEvery deviceThe system agent, ak-sysd, which enrolls the device and reports device facts.
authentik-agent-desktopWorkstations with a graphical desktopThe authentik Agent app, which runs the user agent. Requires WebKitGTK, GTK 3, and AppIndicator.
authentik-agentServers and devices without a desktopThe user agent, as the systemd user service ak-agent.

Install either authentik-agent-desktop or authentik-agent. The two packages can't be installed together.

SSH server authentication and local device login also need libnss-authentik, which makes authentik users and groups available on the device, and libpam-authentik, which lets them log in. After you install them, configure NSS and PAM.

  1. Add the authentik package signing key:

    curl -fsSL https://pkg.goauthentik.io/keys/gpg-key.asc | sudo gpg --dearmor -o /usr/share/keyrings/authentik-keyring.gpg
  2. Add the authentik package repository:

    echo "deb [signed-by=/usr/share/keyrings/authentik-keyring.gpg] https://pkg.goauthentik.io stable main" | sudo tee /etc/apt/sources.list.d/authentik.list
  3. Install the packages. On a server, replace authentik-agent-desktop with authentik-agent.

    sudo apt update
    sudo apt install authentik-cli authentik-sysd authentik-agent-desktop
  4. (Optional) To enable SSH server authentication and local device login, install the NSS and PAM packages:

    sudo apt install libnss-authentik libpam-authentik

apt upgrade updates the authentik Agent.

To join the device to an authentik domain, continue with the Linux deployment guide.

Verify the installation​

Check the version of all installed authentik components by running the following command:

ak version

You should see output that starts with authentik Agent CLI: <version_number>.

Next steps​