# 使用 Homebrew, Nix 安装 zapp

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

## 安装

```sh
sudo av install brew:zapp
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install zapp
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#zapp
```

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

## 软件包事实

- **软件包键:** brew:zapp
- **软件包管理器:** Homebrew
- **版本:** 1.0.2
- **来源摘要:** Flash ZSA keyboards from your terminal
- **主页:** <https://github.com/zsa/zapp>
- **仓库:** <https://github.com/zsa/zapp>
- **最后更新:** 2026-07-09T11:51:39Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- zapp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Zapp is ZSA Technology Labs' open-source Rust CLI for flashing ZSA ergonomic keyboards from a terminal instead of using a browser or the larger Keymapp application.

### 项目历史

ZSA introduced Zapp on 2026-04-07 as a small terminal tool for users who do not flash through a browser and want something lighter or more automation-friendly than Keymapp. The README describes it as a cross-platform CLI for flashing ZSA keyboards including Voyager, Moonlander, Ergodox EZ, Halfmoon, and Planck EZ variants.

The project structure is intentionally split between a `zapp` CLI binary and `zapp-core` library code for USB device detection, firmware parsing, and flashing protocols such as STM32 DFU and HALFKAY.

### 采用历史

Zapp's adoption is young and vendor-specific. Its README already documents Homebrew, openSUSE, Arch/AUR, Nix flakes, source installation through Cargo, release binaries, and Linux udev rules, which is the right packaging surface for a USB firmware-flashing tool.

The ZSA announcement positions Zapp as automation-friendly: it can flash a local firmware file or Oryx URL, and `zapp update` can read layout and revision data from a keyboard flashed with Oryx firmware without storing login credentials.

### 使用方式

Users run `zapp flash firmware.bin`, `zapp flash firmware.hex`, or pass an Oryx layout URL. Zapp downloads or parses the firmware, waits for the keyboard to enter bootloader mode, detects the device over USB, and flashes it. On Linux, users need udev rules so the USB device is accessible without root.

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

Zapp is package-nerd significant because it turns a vendor hardware workflow into a normal CLI package: installable with Homebrew or distro tools, auditable as open-source Rust, and friendly to repeatable firmware workflows.

It also shows the packaging details that make hardware CLIs different from pure text tools: firmware formats, USB permissions, udev rules, bootloader modes, and platform-specific flashing protocols are part of the package experience.

### 时间线

- 2026-04-07: ZSA published the Introducing Zapp announcement.
- 2026: README documents Homebrew, openSUSE, Arch/AUR, Nix, Cargo, and release-binary installation paths.
- 2026: Zapp supports local DFU/Intel HEX firmware files, Oryx URLs, and keyboard-layout update checks.

### Related projects

- Related projects include ZSA Oryx, ZSA Keymapp, Wally, QMK Firmware, QMK Toolbox, kontroll, dfu-util-style firmware workflows, and keyboard-specific udev rule packages.

### 来源

- <https://blog.zsa.io/introducing-zapp/>
- <https://github.com/qmk/qmk_firmware>
- <https://github.com/zsa/wally>
- <https://github.com/zsa/zapp>
- <https://raw.githubusercontent.com/zsa/zapp/main/README.md>


## 安全说明

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


## 其他软件包管理器记录

- Nix - zapp: normalized package name match | nixpkgs package indexes: pkgs/by-name/za/zapp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1


## Combined YAML source

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


## 来源

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