# Install yubikey-agent

Seamless ssh-agent for YubiKeys and other PIV tokens. Version 0.1.6 via Homebrew; verified 2026-06-06.

## Install

```sh
sudo av install brew:yubikey-agent
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install yubikey-agent
```

  Evidence: local Homebrew formula metadata

### Linux

- apk (92%):

```sh
sudo apk add yubikey-agent
```

  Evidence: Alpine Linux edge package indexes: yubikey-agent from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install yubikey-agent
```

  Evidence: Debian stable package indexes: yubikey-agent from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#yubikey-agent
```

  Evidence: nixpkgs package indexes: pkgs/by-name/yu/yubikey-agent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

## Package Facts

- **Package key:** brew:yubikey-agent
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/yubikey-agent>
- **Version:** 0.1.6
- **Source summary:** Seamless ssh-agent for YubiKeys and other PIV tokens
- **Homepage:** <https://github.com/FiloSottile/yubikey-agent>
- **Repository:** <https://github.com/FiloSottile/yubikey-agent>
- **Upstream docs:** <https://github.com/FiloSottile/yubikey-agent#readme>
- **License:** BSD-3-Clause
- **Source archive:** <https://github.com/FiloSottile/yubikey-agent/archive/refs/tags/v0.1.6.tar.gz>
- **Last updated:** 2026-06-06T11:29:14Z
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- yubikey-agent (cli)
- yubikey-agent (alias)

## Build Dependencies

- go
- pkgconf

## macOS Provided Libraries

- pcsc-lite

## Install Behavior

- Post-install hook: not defined
- Service: declared
- Caveats: To use this SSH agent, set this variable in your ~/.zshrc and/or ~/.bashrc: export SSH_AUTH_SOCK="$HOMEBREW_PREFIX/var/run/yubikey-agent.sock"
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 0.1.6
- Package-manager updated: 2026-06-06
- Local data status: ok
- Upstream repository: https://github.com/FiloSottile/yubikey-agent
- Upstream latest detected: v0.1.6 (current)

## Notes de sécurité

broad file, network, media, or database tool signal. formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- broad file, network, media, or database tool signal
- formula declares a Homebrew service

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** yubikey-agent
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

## Other Package-Manager Records

- Debian apt - yubikey-agent - 0.1.4-2+b19: normalized package name match | Debian stable package indexes: yubikey-agent from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | seamless ssh agent for YubiKeys | https://github.com/FiloSottile/yubikey-agent
- Nix - yubikey-agent: normalized package name match | nixpkgs package indexes: pkgs/by-name/yu/yubikey-agent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - yubikey-agent - 0.1.4-2build1: normalized package name match | Ubuntu 24.04 LTS package indexes: yubikey-agent from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | seamless ssh agent for YubiKeys | https://github.com/FiloSottile/yubikey-agent
- apk - yubikey-agent - 0.1.6-r22: normalized package name match | Alpine Linux edge package indexes: yubikey-agent from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | Seamless ssh-agent for YubiKeys | https://github.com/FiloSottile/yubikey-agent


## Related Links

- [Source-control packages](https://www.automicvault.com/fr/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/fr/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/fr/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/fr/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [pkgconf](https://www.automicvault.com/fr/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [go](https://www.automicvault.com/fr/pkg/brew/go/) - Build dependency declared by Homebrew.
- [tkey-ssh-agent](https://www.automicvault.com/fr/pkg/brew/tkey-ssh-agent/) - Shares av.db curated category or tags: cli, hardware-token, security, ssh, ssh-agent.
- [ykman](https://www.automicvault.com/fr/pkg/brew/ykman/) - Shares av.db curated category or tags: cli, hardware-token, security, yubikey.
- [yubico-piv-tool](https://www.automicvault.com/fr/pkg/brew/yubico-piv-tool/) - Shares av.db curated category or tags: cli, piv, security, yubikey.
- [skm](https://www.automicvault.com/fr/pkg/brew/skm/) - Shares av.db curated category or tags: cli, security, ssh.
- [sshguard](https://www.automicvault.com/fr/pkg/brew/sshguard/) - Shares av.db curated category or tags: cli, security, ssh.
- [openssh](https://www.automicvault.com/fr/pkg/brew/openssh/) - Shares av.db curated category or tags: cli, security, ssh.
- [ssh-copy-id](https://www.automicvault.com/fr/pkg/brew/ssh-copy-id/) - Shares av.db curated category or tags: cli, security, ssh.
- [ykpers](https://www.automicvault.com/fr/pkg/brew/ykpers/) - Shares av.db curated category or tags: cli, security, yubikey.
- [age-plugin-yubikey](https://www.automicvault.com/fr/pkg/brew/age-plugin-yubikey/) - Security-sensitive metadata or terminology overlaps. Shared terms: cli, piv, security, tokens, yubikey.
- [keepkey-agent](https://www.automicvault.com/fr/pkg/brew/keepkey-agent/) - Security-sensitive metadata or terminology overlaps. Shared terms: agent, cli, hardware, security, ssh.

## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
