Installation

How to install probe-rs.

Quickly

Run the setup command specific to your system:

Linux, macOS

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

Windows (PowerShell)

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

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