# 使用 Homebrew, apk, apt, MacPorts, Nix 安装 reflex

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

## 安装

```sh
sudo av install brew:reflex
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install reflex
```

  证据: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install reflex
```

  证据: MacPorts ports tree: devel/reflex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add reflex
```

  证据: Alpine Linux edge package indexes: reflex from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install reflex
```

  证据: Debian stable package indexes: reflex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- Nix (92%):

```sh
nix profile install nixpkgs#reflex
```

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

## 软件包事实

- **软件包键:** brew:reflex
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/reflex>
- **版本:** 0.3.2
- **来源摘要:** Run a command when files change
- **主页:** <https://github.com/cespare/reflex>
- **仓库:** <https://github.com/cespare/reflex>
- **许可证:** MIT
- **源码归档:** <https://github.com/cespare/reflex/archive/refs/tags/v0.3.2.tar.gz>
- **最后更新:** 2026-07-27T19:03:00+02:00
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- reflex (cli)
- reflex (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3.2
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/cespare/reflex
- 检测到的最新版本: v0.3.2 (当前)

## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- narrow executable package without higher-risk signals

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** reflex
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Conflicts With:** re-flex
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** head, stable

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

- Debian apt - reflex - 0.3.1-1+b17: normalized package name match | Debian stable package indexes: reflex from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Run a command when files change | https://github.com/cespare/reflex
- Nix - reflex: normalized package name match | nixpkgs package indexes: pkgs/by-name/re/reflex/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - reflex - 0.3.1-1build1: normalized package name match | Ubuntu 24.04 LTS package indexes: reflex from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Run a command when files change | https://github.com/cespare/reflex
- apk - reflex - 20260131-r0: normalized package name match | Alpine Linux edge package indexes: reflex from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Relocalizable fast lexical scanner | https://invisible-island.net/reflex/
- apk - reflex-dev - 20260131-r0: normalized package name match | Alpine Linux edge package indexes: reflex-dev from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Relocalizable fast lexical scanner (development files) | https://invisible-island.net/reflex/
- apk - reflex-doc - 20260131-r0: normalized package name match | Alpine Linux edge package indexes: reflex-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | Relocalizable fast lexical scanner (documentation) | https://invisible-island.net/reflex/
- MacPorts - reflex: normalized package name match | MacPorts ports tree: devel/reflex/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://pkg.so/zh-hans/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://pkg.so/zh-hans/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://pkg.so/zh-hans/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [entr](https://pkg.so/zh-hans/brew/entr/) - Shares pkgdb curated category or tags: automation, cli, developer-tools, file-watcher.
- [expect](https://pkg.so/zh-hans/brew/expect/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [retry](https://pkg.so/zh-hans/brew/retry/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [appium](https://pkg.so/zh-hans/brew/appium/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [apify-cli](https://pkg.so/zh-hans/brew/apify-cli/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [robot-framework](https://pkg.so/zh-hans/brew/robot-framework/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [docker-gen](https://pkg.so/zh-hans/brew/docker-gen/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [rust-parallel](https://pkg.so/zh-hans/brew/rust-parallel/) - Shares pkgdb curated category or tags: automation, cli, developer-tools.
- [arelo](https://pkg.so/zh-hans/brew/arelo/) - Local package facts share a topical domain. Shared terms: cli, developer, developer-tools, development, file.
- [wgo](https://pkg.so/zh-hans/brew/wgo/) - Local package facts share a topical domain. Shared terms: automation, cli, developer, developer-tools, file.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
