← Back to documentation
Installation
Desktop-2FA is a Python package for Windows, macOS, and Linux. Python 3.11 or newer is required.
Install with pip
python -m pip install desktop-2faInstall with pipx
pipx installs the command-line application in an isolated environment:
pipx install desktop-2faUpgrade
The current release is 0.10.0 (October 30, 2026). Create an encrypted backup before upgrading and review compatibility notes, especially password-file whitespace handling.
d2fa backup
python -m pip install --upgrade desktop-2faFor pipx installations, use pipx upgrade desktop-2fa.
Verify and get started
d2fa --version
d2fa --help
d2fa vault initTo install from source:
git clone https://github.com/wrogistefan/desktop-2fa
cd desktop-2fa
python -m pip install .See the CLI reference for commands and the vault guide for backup and path options.