# Install espflash with Homebrew, Nix, pacman

Serial flasher utility for Espressif SoCs and modules based on esptool.py. Version 4.4.0 via Homebrew; verified 2026-04-16.

## Install

```sh
sudo av install brew:espflash
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install espflash
```

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#espflash
```

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

- pacman (92%):

```sh
sudo pacman -S espflash
```

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

## Package facts

- **Package key:** brew:espflash
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/espflash>
- **Version:** 4.4.0
- **Source summary:** Serial flasher utility for Espressif SoCs and modules based on esptool.py
- **Homepage:** <https://github.com/esp-rs/espflash>
- **Repository:** <https://github.com/esp-rs/espflash>
- **Upstream docs:** <https://github.com/esp-rs/espflash#readme>
- **License:** MIT OR Apache-2.0
- **Source archive:** <https://github.com/esp-rs/espflash/archive/refs/tags/v4.4.0.tar.gz>
- **Last updated:** 2026-04-16T17:44:10Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- espflash (cli)
- espflash (alias)

## Build dependencies

- libuv
- pkgconf
- 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: 4.4.0
- Package-manager updated: 2026-04-16
- Local data: ok
- Upstream repository: https://github.com/esp-rs/espflash
- Upstream latest detected: v4.4.0 (current)
## Project history and usage

espflash is a Rust ecosystem serial flasher for Espressif devices, described by its project as loosely based on esptool.py.

### Project history

The project sits in the esp-rs organization and provides both `espflash` and a related `cargo-espflash` workflow for Rust-on-Espressif development.

### Adoption history

Its adoption is tied to the Rust embedded Espressif community rather than to Espressif's official Python tooling. Homebrew, Nix, Pacman, crates.io, and the repository README make it discoverable as a package-manager and Cargo-installable flashing tool.

### How it is used

The command-line tool flashes ELF-format applications, monitors serial output, prints board information, erases flash or regions, calculates checksums, and generates shell completions for Espressif chips.

### Why package nerds care

For package nerds, espflash is interesting because it packages a Rust-native alternative around a workflow historically dominated by Python esptool.py, and because `cargo-espflash` makes flashing feel like part of the Rust build loop.

### Timeline

- 2020s: espflash grows with esp-rs as a Rust-oriented Espressif flashing utility.

### Related projects

- The project explicitly relates itself to esptool.py and ships alongside cargo-espflash for Cargo-integrated flashing.

### Sources

- <https://github.com/esp-rs/espflash>
- <https://github.com/esp-rs/espflash/tree/main/espflash>


## 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

- Linux: ~/.config/espflash/espflash.toml, ~/.config/espflash/espflash_ports.toml
- macOS: ~/Library/Application Support/rs.esp.espflash/espflash.toml, ~/Library/Application Support/rs.esp.espflash/espflash_ports.toml
- Unix: ./espflash.toml, ./espflash_ports.toml
- Windows: %APPDATA%\esp\espflash\espflash.toml, %APPDATA%\esp\espflash\espflash_ports.toml
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** espflash
- **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 - espflash: normalized package name match | nixpkgs package indexes: pkgs/by-name/es/espflash/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - espflash - 4.4.0-1: normalized package name match | Arch Linux sync databases: espflash from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Cargo subcommand for flashing Espressif devices over serial | https://github.com/esp-rs/espflash


## 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.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [rust](https://www.automicvault.com/pkg/brew/rust/) - Build dependency declared by Homebrew.
- [elf2uf2-rs](https://www.automicvault.com/pkg/brew/elf2uf2-rs/) - Shares av.db curated category or tags: cli, developer-tools, embedded, rust.
- [esptool](https://www.automicvault.com/pkg/brew/esptool/) - Shares av.db curated category or tags: cli, developer-tools, embedded, esp32, espressif.
- [jaguar](https://www.automicvault.com/pkg/brew/jaguar/) - Shares av.db curated category or tags: cli, developer-tools, embedded, esp32.
- [mklittlefs](https://www.automicvault.com/pkg/brew/mklittlefs/) - Shares av.db curated category or tags: cli, developer-tools, embedded, esp32.
- [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.
- [espflash](https://www.automicvault.com/pkg/cargo/espflash/) - Same normalized package name exists in another local package ecosystem.

## Combined YAML source

View the package source record on GitHub. [combined/espflash.yml](https://github.com/automic-vault/db/blob/main/combined/espflash.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
