# Install elf2uf2-rs with Homebrew, Nix, pacman

Convert ELF files to UF2 for USB Flashing Bootloaders. Version 2.2.0 via Homebrew; verified from local package data.

## Install

```sh
sudo av install brew:elf2uf2-rs
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install elf2uf2-rs
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#elf2uf2-rs
```

  Evidence: nixpkgs package indexes: pkgs/by-name/el/elf2uf2-rs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S elf2uf2-rs
```

  Evidence: Arch Linux sync databases: elf2uf2-rs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## Package facts

- **Package key:** brew:elf2uf2-rs
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/elf2uf2-rs>
- **Version:** 2.2.0
- **Source summary:** Convert ELF files to UF2 for USB Flashing Bootloaders
- **Homepage:** <https://github.com/JoNil/elf2uf2-rs>
- **Repository:** <https://github.com/JoNil/elf2uf2-rs>
- **Upstream docs:** <https://docs.rs/crate/elf2uf2-rs/latest>
- **License:** 0BSD
- **Source archive:** <https://github.com/JoNil/elf2uf2-rs/archive/refs/tags/2.2.0.tar.gz>
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- elf2uf2-rs (cli)
- elf2uf2-rs (alias)

## Build dependencies

- rust

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.2.0
- Local data: ok
- Upstream repository: https://github.com/JoNil/elf2uf2-rs
- Upstream latest detected: 2.2.0 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

elf2uf2-rs is a Rust CLI for converting ELF firmware binaries to UF2 and deploying them to supported microcontroller boards.

### Project history

The official README describes elf2uf2-rs as a tool for converting ELF binaries into UF2 format and flashing them to microcontrollers including RP2040 and RP2350 boards. It credits Raspberry Pi's elf2uf2 as the basis.

docs.rs describes the crate as a Rust port of elf2uf2 and shows that it is published as a command-line package rather than a library.

### Adoption history

The docs.rs release history shows a 1.0.0 release in 2021, continued 1.x releases through 2023, a 2.0.0 release in 2024, and 2.2.0 in 2025. The input metadata shows Homebrew, Nix, and pacman packaging.

### How it is used

Users run elf2uf2-rs to convert firmware to UF2 files or deploy ELF output directly to a connected board. The README also documents adding a runner command to .cargo/config.toml so cargo run can flash a microcontroller.

### Why package nerds care

elf2uf2-rs is a package-manager-friendly bridge between embedded Rust builds and board flashing: a single CLI turns Cargo output into a deployable UF2 workflow without requiring users to build Raspberry Pi SDK tools separately.

### Timeline

- 2021-01-29: docs.rs lists 1.0.0 and 1.1.0 releases.
- 2024-01-07: docs.rs lists 2.0.0.
- 2025-10-06: docs.rs lists 2.2.0.
- 2026 batch: Input metadata shows Homebrew, Nix, and pacman packages.

### Related projects

- Raspberry Pi's elf2uf2 is credited by the official README as the basis for elf2uf2-rs.
- Cargo is part of the documented install and project-runner workflow.

### Sources

- <https://docs.rs/crate/elf2uf2-rs/latest>
- <https://github.com/JoNil/elf2uf2-rs>
- source_facts.package-manager


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: .cargo/config.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** elf2uf2-rs
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## Other Package-Manager Records

- Nix - elf2uf2-rs: normalized package name match | nixpkgs package indexes: pkgs/by-name/el/elf2uf2-rs/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - elf2uf2-rs - 2.2.0-2: normalized package name match | Arch Linux sync databases: elf2uf2-rs from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Convert ELF files to UF2 for USB Flashing Bootloaders | https://github.com/JoNil/elf2uf2-rs


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [espflash](https://www.automicvault.com/pkg/brew/espflash/) - Shares av.db curated category or tags: cli, developer-tools, embedded, rust.
- [probe-rs-tools](https://www.automicvault.com/pkg/brew/probe-rs-tools/) - Shares av.db curated category or tags: cli, developer-tools, embedded, rust.
- [bossa](https://www.automicvault.com/pkg/brew/bossa/) - Shares av.db curated category or tags: cli, developer-tools, embedded.
- [gpsim](https://www.automicvault.com/pkg/brew/gpsim/) - Shares av.db curated category or tags: cli, developer-tools, embedded.
- [gputils](https://www.automicvault.com/pkg/brew/gputils/) - Shares av.db curated category or tags: cli, developer-tools, embedded.
- [jaguar](https://www.automicvault.com/pkg/brew/jaguar/) - Shares av.db curated category or tags: cli, developer-tools, embedded.
- [lm4tools](https://www.automicvault.com/pkg/brew/lm4tools/) - Shares av.db curated category or tags: cli, developer-tools, embedded.
- [lpc21isp](https://www.automicvault.com/pkg/brew/lpc21isp/) - Shares av.db curated category or tags: cli, developer-tools, embedded.
- [tofrodos](https://www.automicvault.com/pkg/brew/tofrodos/) - Local package facts share a topical domain. Shared terms: cli, conversion, developer, developer-tools, file.

## Combined YAML source

View the package source record on GitHub. [combined/elf2uf2-rs.yml](https://github.com/automic-vault/db/blob/main/combined/elf2uf2-rs.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
