Installing trezorctl on Windows

From Trezor Wiki
Jump to: navigation, search
Trezor Wiki/Developer/Developers guide/ Installing trezorctl on Windows


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


Warning These commands are for advanced users. Please use them with caution.


See also

Installation[edit]

Prerequisites[edit]

Make sure Trezor Bridge is installed and that your Trezor device is visible on the status page:

Trezorctl-windows-1-bridgestatus.png
Trezor Bridge status page

Installing Python[edit]

You will need to download Python version 3.5 or later. At this time, the most recent version of Python is 3.7.4.

You can download the 64-bit installer directly from this link. 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
Python installation configuration

Make sure the "Add Python 3.7 to PATH" option is checked. Then click "Install Now".

Trezorctl-windows-3-progress.png
Python installation progress

Wait until the installation completes.

Trezorctl-windows-4-success.png
Installation complete!

Installing trezorctl[edit]

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.


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

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

Trezorctl-windows-5-run.png
Windows Run dialog


Step 2: At the Command Prompt, enter the following command:

pip install trezor


Trezorctl-windows-6-pip-install.png
Windows Command Prompt with trezor installation


Step 3: Wait until the installation finishes.

Trezorctl-windows-7-pip-complete.png
trezorctl installation is complete

Step 4: Try some sample commands.

Trezorctl-windows-8-commands.png
Sample trezorctl commands

Refer to this trezorctl guide for details.

Note that the following error might be displayed on Windows:

WebUSB transport is disabled: [WinError 126] The specified module could not be found

If you have a functioning Trezor Bridge, you can ignore this error.

Running[edit]

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

Like Trezor? Get one here!