# 使用 Homebrew 安装 flagd

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

## 安装

```sh
sudo av install brew:flagd
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install flagd
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:flagd
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/flagd>
- **版本:** 0.16.1
- **来源摘要:** Feature flag daemon with a Unix philosophy
- **主页:** <https://flagd.dev>
- **仓库:** <https://github.com/open-feature/flagd>
- **上游文档:** <https://flagd.dev>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/open-feature/flagd.git>
- **最后更新:** 2026-07-27T15:40:04Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- flagd (cli)
- flagd (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.16.1
- 管理器更新时间: 2026-07-27
- 本地数据: OK
- 上游仓库: https://github.com/open-feature/flagd
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

flagd is an OpenFeature-compliant feature flag evaluation engine and daemon designed around a Unix-style command-line interface rather than a bundled management UI.

### 项目历史

The public GitHub release stream begins in June 2022. Upstream positions flagd as a ready-made open-source OpenFeature backend system: a separate process, sidecar, central service, or in-process engine for evaluating feature flags.

The documentation explicitly says flagd does not include a UI, management console, or persistence layer. Instead, it is configured through a POSIX-style CLI and supplied with flag definitions from files, HTTP endpoints, Kubernetes custom resources, or proto-compliant gRPC services.

By 2023 and 2024 the release train had split into related components such as flagd, core, flagd-proxy, and Kubernetes-oriented proxy artifacts, reflecting the project's role inside the broader OpenFeature ecosystem.

### 采用历史

flagd's adoption path is tied to OpenFeature: applications use an OpenFeature SDK plus a flagd provider, while operations teams can run flagd as a binary, container image, service, sidecar, or Kubernetes-integrated component.

The quick-start workflow demonstrates containerized use on port 8013, JSON flag definitions, cURL evaluation calls, and live updates without restarting the daemon. This makes flagd attractive for teams that want vendor-neutral feature flag evaluation without committing to a hosted flag-management product.

### 使用方式

Typical CLI use starts flagd with a URI pointing at a local or remote flag definition. The daemon exposes evaluation APIs over HTTP or gRPC, watches flag definitions for changes, and supports boolean, string, number, and JSON flag values, targeting rules, progressive rollouts, and pseudorandom assignments for experiments.

The CLI reference lists ~/.agent.yaml as the default config file. The main commands include flagd start and flagd version.

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

flagd is package-nerd significant because it turns feature flags into a local daemon plus protocol boundary: install a binary, point it at flag data, wire it to OpenFeature providers, and keep flag evaluation independent of a SaaS control plane.

Its packaging also reflects contemporary cloud-native CLI distribution: GitHub releases, container images, Kubernetes integration, gRPC/HTTP APIs, OpenTelemetry-oriented observability, and a docs site generated from repository documentation.

### 时间线

- 2022: First public GitHub release.
- 2023: 0.3.x through 0.6.x releases expanded the early daemon and proxy release train.
- 2024: 0.11.x releases continued alongside core and flagd-proxy components.
- 2025: 0.12.x releases published for flagd, core, and flagd-proxy.

### Related projects

- OpenFeature, OpenFeature SDKs, flagd providers, OpenFeature Operator, Kubernetes custom resources, OpenTelemetry.

### 来源

- <https://github.com/open-feature/flagd>
- <https://raw.githubusercontent.com/open-feature/flagd/main/docs/index.md>
- <https://flagd.dev/>
- <https://flagd.dev/quick-start/>
- <https://flagd.dev/reference/flagd-cli/flagd/>
- <https://api.github.com/repos/open-feature/flagd/releases>


## 安全说明

narrow executable package without higher-risk signals.

- **Geiger 风险:** 绿色 / 低
- 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: ~/.agent.yaml
## 源数据库详情

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


## 相关链接

- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://pkg.so/zh-hans/brew/go/) - Build dependency declared by Homebrew.
- [ldcli](https://pkg.so/zh-hans/brew/ldcli/) - Shares pkgdb curated category or tags: cli, developer-tools, feature-flags.
- [ld-find-code-refs](https://pkg.so/zh-hans/brew/ld-find-code-refs/) - Shares pkgdb curated category or tags: cli, developer-tools, feature-flags.
- [go-feature-flag-relay-proxy](https://pkg.so/zh-hans/brew/go-feature-flag-relay-proxy/) - Shares pkgdb curated category or tags: cli, developer-tools, feature-flags, openfeature.
- [grpc](https://pkg.so/zh-hans/brew/grpc/) - Shares pkgdb curated category or tags: cli, developer-tools, grpc.
- [grpcurl](https://pkg.so/zh-hans/brew/grpcurl/) - Shares pkgdb curated category or tags: cli, developer-tools, grpc.
- [grpcui](https://pkg.so/zh-hans/brew/grpcui/) - Shares pkgdb curated category or tags: cli, developer-tools, grpc.
- [protoc-gen-go-grpc](https://pkg.so/zh-hans/brew/protoc-gen-go-grpc/) - Shares pkgdb curated category or tags: cli, developer-tools, grpc.
- [resterm](https://pkg.so/zh-hans/brew/resterm/) - Shares pkgdb curated category or tags: cli, developer-tools, grpc.

## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
