Installation
Install the OnMCU CLI on Linux, macOS, or Windows.
Use the release installer on Linux, macOS, or Windows. You can also install through Cargo, use cargo-binstall, or download an archive.
curl --proto '=https' --tlsv1.2 -LsSf \
https://github.com/onmcu/onmcu-rs/releases/latest/download/onmcu-installer.sh | shRun in PowerShell:
powershell -ExecutionPolicy Bypass -c "irm https://github.com/onmcu/onmcu-rs/releases/latest/download/onmcu-installer.ps1 | iex"Install from crates.io with a Rust toolchain:
cargo install onmcu --lockedInstall a pre-built release with cargo-binstall:
cargo binstall onmcuPre-built archives
Download your platform archive from the latest GitHub release.
| Platform | Archive |
|---|---|
| Linux x86-64 | onmcu-x86_64-unknown-linux-gnu.tar.xz |
| Linux ARM64 | onmcu-aarch64-unknown-linux-gnu.tar.xz |
| macOS Apple silicon | onmcu-aarch64-apple-darwin.tar.xz |
| macOS Intel | onmcu-x86_64-apple-darwin.tar.xz |
| Windows x86-64 | onmcu-x86_64-pc-windows-msvc.zip |
Extract the archive and place the onmcu executable in a directory on your PATH.
Verify the installation
onmcu --version
onmcu --helpContinue with authentication, then list the boards available to your account.
Pin versions in automation
For reproducible CI, install a specific CLI release rather than resolving latest on every run. The OnMCU GitHub Action exposes this as its version input.