Development on Windows
Thanks to Windows Subsystem for Linux (WSL), you can run Trezor Suite dev environment on a Windows machine.
Prerequisites
On Windows:
- Install an Ubuntu WSL2 (must be v2, you may upgrade existing v1 WSL to v2)
- Install USBIPD
In WSL:
- Run
sudo apt-get install build-essential
- Install these Electron dependencies for Linux
- Install udev rules as per the Trezor docs
Setup
Proceed with the general readme instructions.
Connecting USB device
On Windows, run usbipd list
, find the bus id of the Trezor device, e.g. 2-1
.
Then run:
usbipd bind --busid 2-1
usbipd attach --wsl --busid 2-1
In WSL, run lsusb
to confirm the device is visible.
Note: Without udev rules, the device will be visible by lsusb
, but not in the app.