All articles

Trezorctl on Windows

This article describes in detail how to get the low-level command line tool trezorctl working on Windows.

trezorctl commands are tools written in the Python programming language that can be used with the Trezor device using the command line client.

trezorctl is for advanced users. Please proceed with caution.

Prerequisites

Make sure Trezor Suite is installed and running whenever you are using the trezorctl command line tool.

Installation

You will need to download a Python release with active support.

You can download the Python Windows installer here.

Alternatively, navigate to Python releases for Windows and select your preferred installer version.

When the download is finished, run the installer.

Trezorctl-windows-2-install.png

Make sure the "Add Python [version number, e.g. 3.13] to PATH" option is checked. Then click "Install Now".

Trezorctl-windows-3-progress.png

Wait until the installation completes.

Trezorctl-windows-4-success.png

Installing trezorctl

Wait until the Python installer has finished.

If you open the Command Prompt window before the installation is complete, the necessary commands will not be available. You will need to close the window and open it again.

Type cmd into the dialog and press Enter, or click "OK".

Trezorctl-windows-5-run.png
pip install trezor
Trezorctl-windows-6-pip-install.png
Trezorctl-windows-7-pip-complete.png
Trezorctl-windows-8-commands.png

Running trezorctl 

When you need to run trezorctl again, just open the Command Prompt and type your trezorctl command.

Step 1: Press Win+R to open the "Run" dialog.

Step 2: Type "cmd" into the dialog and press Enter, or click "OK".

Step 3: Type trezorctl commands

;