ykman

YubiKey Manager - configure YubiKeys. If there are multiple YubiKeys connected, you have to add --device serial_number before a subcommand. More information: <https://docs.yubico.com/software/yubikey/tools/ykman/index.html>.

Install

All systems
curl cmd.cat/ykman.sh
Debian Debian
apt-get install yubikey-manager
Ubuntu
apt-get install yubikey-manager
Arch Arch Linux
pacman -S yubikey-manager
image/svg+xml Kali Linux
apt-get install yubikey-manager
Fedora
dnf install yubikey-manager
Windows (WSL2)
sudo apt-get update sudo apt-get install yubikey-manager
OS X
brew install ykman

YubiKey Manager - configure YubiKeys. If there are multiple YubiKeys connected, you have to add --device serial_number before a subcommand. More information: <https://docs.yubico.com/software/yubikey/tools/ykman/index.html>.

  • Display general information about a YubiKey (serial number, firmware version, capabilities, etc.):
    ykman info
  • List connected YubiKeys with short, one-line descriptions (including the serial number):
    ykman list
  • View documentation for enabling and disabling applications:
    tldr ykman config
  • View documentation for managing the FIDO applications:
    tldr ykman fido
  • View documentation for managing the OATH application:
    tldr ykman oath
  • View documentation for managing the OpenPGP application:
    tldr ykman openpgp

© tl;dr; authors and contributors