Installation

How to install probe-rs.

Using install scripts

Linux, macOS

curl --proto '=https' --tlsv1.2 -LsSf https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-installer.sh | sh

Windows

irm https://github.com/probe-rs/probe-rs/releases/latest/download/probe-rs-installer.ps1 | iex

From package managers

homebrew

brew tap probe-rs/probe-rs
brew install probe-rs

cargo binstall

cargo binstall probe-rs

Installing from source (cargo install)

Prerequisites

To build probe-rs from source, you will need a working Rust toolchain. The easiest way is to follow the rustup installation instructions.

Debian-based Linux

On Debian and derived distros (e.g. Ubuntu), the following packages need to be installed:

sudo apt install -y pkg-config libudev-dev

RPM-based Linux (Fedora, CentOS)

dnf install libusbx-devel libudev-devel

macOS, Windows

No additional setup is required.

Installation

Install with cargo install. This will install the probe-rs, cargo-flash and cargo-embed binaries and put them in $PATH.

cargo install probe-rs --features cli