# 使用 Homebrew, Nix, pacman 安装 esphome

查看 esphome 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install brew:esphome
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install esphome
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#esphome
```

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

- pacman (92%):

```sh
sudo pacman -S esphome
```

  证据: Arch Linux sync databases: esphome from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

## 软件包事实

- **软件包键:** brew:esphome
- **软件包管理器:** Homebrew
- **版本:** 2026.7.3
- **来源摘要:** Make creating custom firmwares for ESP32/ESP8266 super easy
- **主页:** <https://esphome.io/>
- **仓库:** <https://github.com/esphome/esphome>
- **最后更新:** 2026-07-29T12:00:29Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- esphome (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-03
- 管理器版本: 2026.7.3
## 项目历史与用法

ESPHome is a configuration-driven firmware system for turning ESP32, ESP8266, BK72xx, RP2040, and related microcontroller boards into Home Assistant-friendly smart home devices.

### 项目历史

Early ESPHome releases used the esphomelib and esphomeyaml names, and the project's own 1.7.0 changelog describes a rapid user increase after a Home Assistant blog post. Over time the project consolidated around ESPHome as the user-facing tool and documentation site.

The core idea stayed unusually package-friendly: users write YAML configuration, ESPHome generates firmware, and that firmware is installed directly onto the device. The official getting started guide describes the system as having a device-side part and a computer-side or builder-side part, which explains why the package is both a CLI tool and an ecosystem around device definitions.

### 采用历史

ESPHome adoption tracks the Home Assistant ecosystem. The 1.7.0 changelog reports a sixfold growth in GitHub clones after Home Assistant coverage, and later documentation frames the ESPHome Device Builder as an easy Home Assistant app for creating, editing, installing, and updating device configurations.

By 2023 the project was extending beyond basic sensors and switches into voice assistant work for Home Assistant Assist, and its release notes announced a dedicated Voice Assistant component. In 2024, Nabu Casa donated ESPHome to the Open Home Foundation, aligning it formally with Home Assistant governance while keeping day-to-day development supported by Nabu Casa.

### 使用方式

Users normally create one or more YAML files per device, validate and compile them with the ESPHome tooling or Device Builder, install the generated firmware over USB or serial for first setup, then perform later updates over the air when supported by the device configuration.

The package matters in day-to-day home automation because hardware declared in the YAML configuration, such as sensors, switches, lights, and binary sensors, automatically appears in Home Assistant after the device is installed and connected.

### 为什么软件包爱好者会关心

ESPHome is a packaging sweet spot: it turns embedded firmware generation into a host-side CLI package, while also pulling together PlatformIO, microcontroller SDKs, YAML validation, generated C++ code, OTA updates, and Home Assistant discovery into one repeatable workflow.

### 时间线

- 2018: Version 1.7.0 changelog describes esphomelib growth after Home Assistant coverage.
- 2023: Voice Assistant component added for Home Assistant Assist workflows.
- 2024: Nabu Casa donates ESPHome to the Open Home Foundation.

### Related projects

- Home Assistant is the central integration target; ESPHome also sits alongside firmware projects such as Tasmota and Espurna because its documentation includes migration guides from both.

### 来源

- <https://github.com/esphome/esphome>
- <https://esphome.io/guides/getting_started_hassio/>
- <https://esphome.io/changelog/v1.7.0/>
- <https://esphome.io/changelog/2023.4.0/>
- <https://esphome.io/changelog/2024.6.0/>


## 安全说明

没有找到 esphome 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## 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: <config-directory>/*.yaml
## 其他软件包管理器记录

- Nix - esphome: normalized package name match | nixpkgs package indexes: pkgs/by-name/es/esphome/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - esphome - 2026.6.5-1: normalized package name match | Arch Linux sync databases: esphome from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | Solution for your ESP8266/ESP32 projects with Home Assistant | https://github.com/esphome/ESPHome


## Combined YAML source

View the package source record on GitHub. [combined/esphome.yml](https://github.com/mxcl/pkgdb/blob/main/combined/esphome.yml)


## 来源

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
