This guide walks you through installing mono-imager step by step.
- A computer running Windows, macOS, or Linux.
- Python 3.10 or newer installed.
- Check if you already have it: open a terminal and type:
(On Windows, try
python3 --versionpython --versioninstead.) - If it prints a version number of 3.10 or higher, you're set.
- If not, download Python from https://www.python.org/downloads/ and install it. On Windows, tick "Add Python to PATH" during setup.
- Check if you already have it: open a terminal and type:
- A USB cable, connected between your computer and the Mono Gateway device on the MIDDLE USB C socket on the Mono.
- Windows: search for "Command Prompt" or "PowerShell" in the Start menu.
- macOS: open "Terminal" from Applications → Utilities.
- Linux: usually
Ctrl+Alt+T, or search "Terminal".
You'll type commands into this window and press Enter after each one.
Download or copy the mono-imager project folder onto your computer. In your terminal, navigate into that folder, for example:
cd path/to/mono-imager
(Replace path/to/mono-imager with wherever you saved it.)
Type this and press Enter:
pip install -r requirements.txt
This installs two small helper packages the tool needs (pyserial and icmplib).
Type:
pip install -e .
This makes the mono-imager command available to run from anywhere in your terminal.
If
pipisn't recognized: trypip3instead ofpip, orpython3 -m pip/python -m pipin front of the same command.
Type:
mono-imager
If that doesn't work for any reason, you can run it this way instead, from inside the mono-imager folder:
python -m mono_imager.cli
Either way, the tool will connect to your device and show you a menu of options (Flash OS, update firmware, run tests, etc.). Everything from there is menu-driven — you don't need to type any more commands.
- "command not found" — make sure Python was installed with "Add to PATH" checked (Windows), or restart your terminal after installing.
- Permission errors on macOS/Linux — try adding
--userto the pip commands, e.g.pip install -r requirements.txt --user. - Nothing happens when connecting to the device — double-check the USB-to-UART adapter is plugged in and recognized by your computer before launching mono-imager.