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
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:
| Package | Install on | Contents |
|---|---|---|
authentik-cli | Every device | The ak command. |
authentik-sysd | Every device | The system agent, ak-sysd, which enrolls the device and reports device facts. |
authentik-agent-desktop | Workstations with a graphical desktop | The authentik Agent app, which runs the user agent. Requires WebKitGTK, GTK 3, and AppIndicator. |
authentik-agent | Servers and devices without a desktop | The 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.
- Debian-based
- Red Hat-based
- Arch Linux
-
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 -
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 -
Install the packages. On a server, replace
authentik-agent-desktopwithauthentik-agent.sudo apt updatesudo apt install authentik-cli authentik-sysd authentik-agent-desktop -
(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.
-
Add the authentik package repository and its signing key. This command overwrites
/etc/yum.repos.d/authentik.repoif it exists.cat <<EOF | sudo tee /etc/yum.repos.d/authentik.repo[authentik]name=authentikbaseurl=https://pkg.goauthentik.ioenabled=1gpgcheck=1gpgkey=https://pkg.goauthentik.io/keys/gpg-key.ascEOF -
Install the packages. On a server, replace
authentik-agent-desktopwithauthentik-agent.sudo yum install -y authentik-cli authentik-sysd authentik-agent-desktop -
(Optional) To enable SSH server authentication and local device login, install the NSS and PAM packages:
sudo yum install -y libnss-authentik libpam-authentik
yum update updates the authentik Agent.
The Arch Linux packages aren't published in a pacman repository, so you download and install them yourself.
-
Download the packages for the latest version and your architecture from pkg.goauthentik.io or from the authentik Platform releases on GitHub. For SSH server authentication and local device login, also download
libnss-authentikandlibpam-authentik. -
Install the packages. On a server, replace
authentik-agent-desktopwithauthentik-agent.sudo pacman -U authentik-cli-*.pkg.tar.zst authentik-sysd-*.pkg.tar.zst authentik-agent-desktop-*.pkg.tar.zst
To update the authentik Agent, download and install the packages of the new version.
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
- Configure your authentik deployment to support the authentik Agent. This is required before a device can enroll.
- Deploy the Agent on Linux, macOS, or Windows.
- Deploy at scale with MDM and automation tools.
- Review the release notes for the latest changes.