# Install yubico-piv-tool

Command-line tool for the YubiKey PIV application. Version 2.7.3 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:yubico-piv-tool
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install yubico-piv-tool
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install yubico-piv-tool
```

  Evidence: MacPorts ports tree: security/yubico-piv-tool/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add yubico-piv-tool
```

  Evidence: Alpine Linux edge package indexes: yubico-piv-tool from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install libykpiv-dev
```

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

- dnf (92%):

```sh
sudo dnf install yubico-piv-tool
```

  Evidence: Fedora Rawhide package metadata: yubico-piv-tool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#yubico-piv-tool
```

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

- pacman (92%):

```sh
sudo pacman -S yubico-piv-tool
```

  Evidence: Arch Linux sync databases: yubico-piv-tool from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

- zypper (92%):

```sh
sudo zypper install libykcs11-2
```

  Evidence: openSUSE Tumbleweed package metadata: libykcs11-2 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/155b97171d05e27afd950b6fe0d55513ff38f4597110664535bceedc680bbe6fd459f0733718dcc21dcf0efc7c8250fd1390c73d4790b42e62fb2c16a87242e5-primary.xml.zst

### Windows

- Scoop (92%):

```sh
scoop install main/yubico-piv-tool
```

  Evidence: Scoop official bucket manifest trees: bucket/yubico-piv-tool.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

- winget (92%):

```sh
winget install --id Yubico.PIVTool -e
```

  Evidence: Windows Package Manager source index: Yubico.PIVTool from https://cdn.winget.microsoft.com/cache/source.msix

## Package Facts

- **Package key:** brew:yubico-piv-tool
- **Package manager:** Homebrew
- **Package manager URL:** <https://formulae.brew.sh/formula/yubico-piv-tool>
- **Version:** 2.7.3
- **Source summary:** Command-line tool for the YubiKey PIV application
- **Homepage:** <https://developers.yubico.com/yubico-piv-tool/>
- **Repository:** <https://github.com/Yubico/yubico-piv-tool>
- **Upstream docs:** <https://developers.yubico.com/PIV>
- **License:** BSD-2-Clause
- **Source archive:** <https://developers.yubico.com/yubico-piv-tool/Releases/yubico-piv-tool-2.7.3.tar.gz>
- **Generated:** 2026-06-10T07:18:26+00:00

## Executables

- yubico-piv-tool (cli)
- yubico-piv-tool (alias)

## Dependencies

- openssl@3

## Build Dependencies

- check
- cmake
- gengetopt
- help2man
- pkgconf

## macOS Provided Libraries

- pcsc-lite

## Install Behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-06-10
- Package-manager version: 2.7.3
- Local data status: ok
- Upstream repository: https://developers.yubico.com/yubico-piv-tool/
- info: No package-manager update timestamp was available.
- info: Release/tag comparison is only available for GitHub repositories.

## セキュリティノート

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

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

## Other Package-Manager Records

- Debian apt - libykpiv-dev - 2.7.1-1: normalized package name match | Debian stable package indexes: libykpiv-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Development files for the YubiKey PIV Library | https://developers.yubico.com/yubico-piv-tool/
- Debian apt - libykpiv2 - 2.7.1-1: normalized package name match | Debian stable package indexes: libykpiv2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Library for communication with the YubiKey PIV smartcard | https://developers.yubico.com/yubico-piv-tool/
- Debian apt - ykcs11 - 2.7.1-1: normalized package name match | Debian stable package indexes: ykcs11 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | PKCS#11 module for the YubiKey PIV applet | https://developers.yubico.com/yubico-piv-tool/
- Debian apt - yubico-piv-tool - 2.7.1-1: normalized package name match | Debian stable package indexes: yubico-piv-tool from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Command line tool for the YubiKey PIV applet | https://developers.yubico.com/yubico-piv-tool/
- Nix - yubico-piv-tool: normalized package name match | nixpkgs package indexes: pkgs/by-name/yu/yubico-piv-tool/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - libykpiv-dev - 2.2.0-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libykpiv-dev from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Development files for the YubiKey PIV Library | https://developers.yubico.com/yubico-piv-tool/
- Ubuntu apt - libykpiv2 - 2.2.0-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: libykpiv2 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Library for communication with the YubiKey PIV smartcard | https://developers.yubico.com/yubico-piv-tool/
- Ubuntu apt - ykcs11 - 2.2.0-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: ykcs11 from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | PKCS#11 module for the YubiKey PIV applet | https://developers.yubico.com/yubico-piv-tool/
- Ubuntu apt - yubico-piv-tool - 2.2.0-1.1build2: normalized package name match | Ubuntu 24.04 LTS package indexes: yubico-piv-tool from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Command line tool for the YubiKey PIV applet | https://developers.yubico.com/yubico-piv-tool/
- apk - yubico-piv-tool - 2.7.3-r0: normalized package name match | Alpine Linux edge package indexes: yubico-piv-tool from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PIV Tools for yubikey | https://developers.yubico.com/yubico-piv-tool
- apk - yubico-piv-tool-dev - 2.7.3-r0: normalized package name match | Alpine Linux edge package indexes: yubico-piv-tool-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PIV Tools for yubikey (development files) | https://developers.yubico.com/yubico-piv-tool
- apk - yubico-piv-tool-doc - 2.7.3-r0: normalized package name match | Alpine Linux edge package indexes: yubico-piv-tool-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PIV Tools for yubikey (documentation) | https://developers.yubico.com/yubico-piv-tool
- apk - yubico-piv-tool-libs - 2.7.3-r0: normalized package name match | Alpine Linux edge package indexes: yubico-piv-tool-libs from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PIV Tools for yubikey (libraries) | https://developers.yubico.com/yubico-piv-tool
- apk - yubico-piv-tool-static - 2.7.3-r0: normalized package name match | Alpine Linux edge package indexes: yubico-piv-tool-static from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | PIV Tools for yubikey (static library) | https://developers.yubico.com/yubico-piv-tool
- dnf - yubico-piv-tool - 2.7.3-1.fc44: normalized package name match | Fedora Rawhide package metadata: yubico-piv-tool from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Tool for interacting with the PIV applet on a YubiKey | https://developers.yubico.com/yubico-piv-tool/
- dnf - yubico-piv-tool-devel - 2.7.3-1.fc44: normalized package name match | Fedora Rawhide package metadata: yubico-piv-tool-devel from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/13ee7b80cb813542594d4235c4a0b8695435d5ecf23dd3580bc7515ae1b6180d-primary.xml.zst | Tool for interacting with the PIV applet on a YubiKey | https://developers.yubico.com/yubico-piv-tool/


## Related Links

- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/ja/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/ja/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://www.automicvault.com/ja/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://www.automicvault.com/ja/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/ja/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [cmake](https://www.automicvault.com/ja/pkg/brew/cmake/) - Build dependency declared by Homebrew.
- [help2man](https://www.automicvault.com/ja/pkg/brew/help2man/) - Build dependency declared by Homebrew.
- [check](https://www.automicvault.com/ja/pkg/brew/check/) - Build dependency declared by Homebrew.
- [opensc](https://www.automicvault.com/ja/pkg/brew/opensc/) - Shares av.db curated category or tags: cli, pkcs11, security, smart-card.
- [yubikey-agent](https://www.automicvault.com/ja/pkg/brew/yubikey-agent/) - Shares av.db curated category or tags: cli, piv, security, yubikey.
- [ykman](https://www.automicvault.com/ja/pkg/brew/ykman/) - Shares av.db curated category or tags: cli, security, yubikey.
- [ykpers](https://www.automicvault.com/ja/pkg/brew/ykpers/) - Shares av.db curated category or tags: cli, security, yubikey.
- [softhsm](https://www.automicvault.com/ja/pkg/brew/softhsm/) - Shares av.db curated category or tags: cli, pkcs11, security.
- [age-plugin-yubikey](https://www.automicvault.com/ja/pkg/brew/age-plugin-yubikey/) - Shares av.db curated category or tags: cli, piv, security, yubikey.
- [gnupg-pkcs11-scd](https://www.automicvault.com/ja/pkg/brew/gnupg-pkcs11-scd/) - Shares av.db curated category or tags: cli, pkcs11, security, smart-card.
- [pivit](https://www.automicvault.com/ja/pkg/brew/pivit/) - Shares av.db curated category or tags: cli, piv, security, yubikey.
- [libfido2](https://www.automicvault.com/ja/pkg/brew/libfido2/) - Security-sensitive metadata or terminology overlaps. Shared terms: authentication, cli, hardware, openssl, openssl-3.

## 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
