Installation

Ubuntu

macOS

brew install ykman

Windows

The command line tool is installed together with the GUI version of YubiKey Manager.

Pip

pip install yubikey-manager

In order for the pip package to work, ykpers and libusb need to be installed on your system as well.
Pyscard is also needed in some form, and if it’s not installed pip builds it using swig and potentially PCSC lite.