Trezorctl on MacOS

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

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. 
 

Installation

Prerequisites


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

 

Step 1: install Homebrew
 

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
 
$ uname -m | grep arm64 && echo 'export PATH=$PATH:/opt/homebrew/bin' >> ~/.zshrc && source ~/.zshrc
 







 

If you are presented with next steps and a list of commands as in the screenshot below, to complete setup it is necessary to run each command individualy to add Homebrew to your PATH.