Installation
Important
Yubico strongly recommends that those who want to use a GUI for configuring individual YubiKeys choose Yubico Authenticator instead of the YubiKey Manager GUI. The Authenticator is newer and has much more functionality.
Both YubiKey Manager (the GUI) and ykman (the CLI) can be installed on Windows, macOS, and Linux systems. The GUI is bundled with an old version of the CLI. Each has its own installer for each OS platform. Unfortunately, on developers.yubico.com both the GUI and the CLI are frequently referred to as “YubiKey Manager”. In this guide we try to make the distinction by calling the GUI “YubiKey Manager” and the CLI “ykman”.
Download YubiKey Manager
Download the YubiKey Manager GUI installers from: YubiKey Manager Releases. Note that the URL includes
qt
- this means the GUI.The installers include both the full graphical application and an older version of the command line tool.
Download YubiKey Manager (ykman) CLI installer from: yubikey-manager Releases.
Note
The GUI is bundled with an older version of the CLI. If you are going to use the CLI, install the latest version separately.
Note
Additional installation packages may be available from third parties.
To download ykman (CLI version) please refer to: YubiKey Manager Releases (CLI).
YubiKey Manager Versions and Installers
The table lists the latest installers released. See the download pages for previous versions.
For GUI releases see, yubikey-manager-qt Releases. Notice there is a -qt
in all the GUI version installer filenames.
For CLI releases see, yubikey-manager Releases.
Version | Installer | OS | Release Date |
---|---|---|---|
1.2.6 | yubikey-manager-qt-1.2.6-win32.exe | Windows 32 bit | 2024-04-04 |
1.2.6 | yubikey-manager-qt-1.2.6-win64.exe | Windows 64 bit | 2024-04-04 |
1.2.5 | yubikey-manager-qt-1.2.5.tar.gz | Linux - Ubuntu | 2023-02-03 |
1.2.5 | yubikey-manager-qt-1.2.5-linux.AppImage | Linus_AppImage | 2023-02-03 |
1.2.5 | yubikey-manager-qt-1.2.5-mac.pkg | macOS | 2023-02-03 |
Version | Installer | OS | Release Date |
---|---|---|---|
5.4.0 | yubikey_manager-5.4.0.tar.gz | Ubuntu | 2024-03-26 |
5.4.0 | yubikey-manager-5.4.0-mac.pkg | macOS | 2024-03-26 |
5.4.0 | yubikey-manager-5.4.0-win64.msi | Windows 64 bit | 2024-03-26 |
OS-independent Installation
ykman (CLI version) can be installed independently of platform by using pip
(or equivalent). This installation method uses the Python package manager, which might be useful for people who are using the libraries that come with ykman for writing Python software. See the YubiKey Manager CLI for Python.
Note
PIP (or equivalent) must first be installed on the target system.
For the latest ykman version:
pip install --user yubikey-manager
(For the YubiKey Manager GUI version (which has an outdated ykman CLI):
pip install --user yubikey-manager-qt-<version>
)
Command Prompt
To install YubiKey Manager (the GUI and the (old) CLI) on Windows from Command Prompt (CMD):
Press the Windows key and type: “cmd”
Select Run as administrator
Select Yes when prompted to run the app in elevated mode
Change directory (
cd
) to where ykman was downloadedType (paste) the following:
yubikey-manager-qt-1.2.3.win64.exe
and press Enter.Replace the filename, with the actual the filename that includes the version information. For example:
yubikey-manager-1.2.3.win64.exe
. Then press Enter.``pip install --user yubikey-manager-<version>``
Note
The YubiKey Manager installers with the -qt
in the filename are for the GUI version. The installers without the -qt
in the filename are for ykman, the CLI.
Windows Installation
Install the YubiKey Manager GUI and the YubiKey Manager CLI separately.
Install YubiKey Manager GUI
When installing from the .exe
package (see below), installation can be made to run silently (i.e., without user interaction) by adding /S
to the install command.
Download the installer. See Download YubiKey Manager.
Open a command terminal and change to your downloads directory.
C:\Users\<user_name> > cd Downloads C:\Users\<user_name>\Downloads >
Confirm the installer is downloaded. Enter directory command,
dir
. View the response for the installer. For example,yubikey-manager-qt-1.2.6-win32.exe
.Enter the installation command. The example includes designating the installation path using the
/D
option.C:\Users\<user_name>\Downloads >.\yubikey-manager-qt-1.2.6-win32.exe /D "C:\Program Files\Yubico\YubiKey Manager
Complete the YubiKey Manager Setup wizard.
- In the Welcome screen, click Next.
- In the Choose Install Location screen, click Next to select the default. Optionally, click Browse to select a different location, then click Next.
- In the Choose Start Menu Folder screen, click Install. Optionally, select a different folder and choose to create shortcuts, then click Install.
- If a pop-up asks, Do you want to allow this app to make changes to your device?, click Yes.
- Wait while the YubiKey Manager GUI is installed. In the Installing screen, a progress bar shows the status.
- In the Completing YubiKey Manager Setup screen, click Finish. Optionally, deselect the Run YubiKey Manager.
The YubiKey Manager icon is added to the Start menu panel.
Optionally, right-click the YubiKey Manager icon in the Start menu panel and select, Pin to Start or Pin to taskbar.
Install YubiKey Manger CLI
Download the installer. See Download YubiKey Manager.
Open a File Explorer and browse to the Downloads folder.
Double-click the installer for the latest version. For example,
yubikey-manager-5.4.0-win64.msi
.Complete the YubiKey Manager CLI Setup wizard.
- In the Welcome screen, click Next.
- In the Destination Folder screen, click Next to select the default. Optionally, click Change to select a different location, then click Next.
- In the Ready to install YubiKey Manager CLI screen, click Install.
- If a pop-up asks, Do you want to allow this app to make changes to your device?, click Yes.
- Wait while the YubiKey Manager GUI is installed. In the Installing screen, a progress bar shows the status.
- In the Completed the YubiKey Manager CLI Setup Wizard screen, click Finish.
Optionally, from the command prompt, change to the installation directory and confirm the YubiKey Manager CLI is listed. If running from a mapped drive, you might need to add
/D <install path>
. This ensures YubiKey Manager (the GUI and the (old) CLI) is installed in the correct drive.C:\Program Files> dir Volume in drive C Volume Serial Number is Directory of C:\Program Files 05/31/2024 03:22 PM <DIR> . 02/27/2024 09:29 PM <DIR> Common Files 05/24/2024 01:30 PM <DIR> Google 05/31/2024 03:41 PM <DIR> Internet Explorer 05/07/2022 01:00 AM <DIR> WindowsPowerShell 05/31/2024 03:22 PM <DIR> Yubico 0 File(s) 0 bytes 14 Dir(s) 238,592,212,992 bytes free
MacOS
Uninstaller
Once installed, the application uninstaller, ykman-uninstall.exe
, is located in the ykman install directory.
Running the uninstaller starts the uninstall process. The /S
silent install option described above works with the uninstaller.
MacOS Installation
Install the YubiKey Manager GUI and the YubiKey Manager CLI separately.
The installers for both the GUI and CLI versions are macOS packages.
Install YubiKey Manager GUI
Download the installer. See Download YubiKey Manager.
Open a Finder and browse to the Downloads folder.
Double-click the installer. For example,
yubikey-manager-qt-1.2.5-mac.pkg
.Complete the YubiKey Manager installer wizard.
In the Introduction screen, click Continue.
The Destination Select screen is skipped and defaults are applied.
In the Installation Type screen, click Install.
If a pop-up ask to allow the installation, enter your password or use Touch ID and click Install Software.
Wait while the YubiKey Manager is installed. In the Installation screen, a progress bar shows the status.
In the Summary screen, click Close.
Optionally, open Launchpad and locate the YubiKey Manager icon.
Install YubiKey Manager CLI
Download the installer. See Download YubiKey Manager.
Open a Finder and browse to the Downloads folder.
Double-click the installer for the newest version. For example,
yubikey-manager-5.4.0-mac.pkg
.Complete the YubiKey-manager installer wizard.
In the Introduction screen, click Continue. The Destination Select screen is skipped and defaults are applied.
In the Installation Type screen, click Install.
If a pop-up ask to allow the installation, enter your password or use Touch ID and click Install Software.
Wait while the YubiKey Manager is installed. In the Installation screen, a progress bar shows the status.
In the Summary screen, click Close.
Optionally, open a terminal and run the ykman help command.
~ % ykman -h Usage: ykman [OPTIONS] COMMAND [ARGS]... Configure your YubiKey via the command line. Examples: List connected YubiKeys, only output serial number: $ ykman list --serials Show information about YubiKey with serial number 123456: $ ykman --device 123456 info . . .
Using Homebrew for CLI
From the Mac’s terminal run the brew
command below.
This is the preferred install method for the CLI as it also enables native ykman
command functionality without the need to change directories.
brew install ykman
Linux Installation
On Linux platforms you need to have pcscd
installed and running to communicate with a YubiKey over the Smart Card interface. Additionally, you might need to set permissions for your user to access YubiKeys via the HID interfaces.
Some of the libraries used by ykman have C-extensions, and might require additional dependencies to build, such as swig
and potentially PCSC lite
.
Third Party Linux Distributions
Yubico provides packages for Ubuntu in the yubico/stable PPA.
Note
For Linux amd64 ONLY and other architectures such as ARM, use the general pip
instructions above.
If you are using packages from one of the several Linux distributions’ third party repositories, follow the installation steps from the Linux distribution.
For example:
sudo apt-add-repository ppa:yubico/stable
sudo apt update
sudo apt install yubikey-manager
See also the Yubico Support Knowledge Base article Installing Yubico Software on Linux.
Developers
For more information, see the ykman CLI page on developers.yubico.com. For APDUs, see the APDU page in the .NET YubiKey SDK User’s Manual.
Click for Yubico Support.