# 使用 Homebrew, apt, Nix 安装 brigade-cli

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

## 安装

```sh
sudo av install brew:brigade-cli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install brigade-cli
```

  证据: local Homebrew formula metadata

### Linux

- Debian apt (92%):

```sh
sudo apt install brig
```

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

- Nix (92%):

```sh
nix profile install nixpkgs#brig
```

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

## 软件包事实

- **软件包键:** brew:brigade-cli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/brigade-cli>
- **版本:** 2.6.0
- **来源摘要:** Brigade command-line interface
- **主页:** <https://brigade.sh>
- **仓库:** <https://github.com/brigadecore/brigade>
- **上游文档:** <https://brigade.sh>
- **许可证:** Apache-2.0
- **源码归档:** <https://github.com/brigadecore/brigade.git>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- brig (cli)
- brig (别名)

## 构建依赖

- go

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_big_sur, arm64_linux, arm64_monterey, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, big_sur, catalina, monterey, sonoma, ventura

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 2.6.0
- 本地数据: OK
- 上游仓库: https://github.com/brigadecore/brigade
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

Brigade CLI, distributed as `brig`, is the command-line client for Brigade, an event-driven scripting platform built on Kubernetes. It belongs to the Kubernetes-native CI/CD and workflow-automation wave of the late 2010s.

### 项目历史

Brigade's repository was created in October 2017 and early v0.x releases followed in November and December 2017. The project described itself as event-driven scripting for Kubernetes, abstracting cluster details so users could react to events with scripted workflows.

The v2 documentation separates Brigade 2 from legacy Brigade 1.x and documents the `brig` CLI as the route to supported user interactions: login, project initialization, event creation, project management, and log inspection. The README also describes an ecosystem of gateways, event sources, metrics, and SDKs.

By 2022 Brigade had reached v2.6.0, and the CNCF TOC merged a proposal to archive the project in September 2022. The official Brigade docs now carry an archived-project banner while preserving the v2 documentation.

### 采用历史

Brigade had meaningful visibility in the Kubernetes ecosystem, with thousands of GitHub stars and packaging across Homebrew, Debian/Ubuntu, and Nix according to the input package facts. Its adoption was tied to teams experimenting with Kubernetes-native automation before GitHub Actions and other hosted CI systems became dominant defaults.

Current package activity is modest: Homebrew analytics reported low hundreds of installs over the prior year at lookup time, consistent with an archived project that remains packaged for existing users and historical reproducibility.

### 使用方式

`brig` is used to log into a Brigade instance, initialize projects, create or manage events, inspect projects, and view worker or job logs. Installation docs offer Homebrew on macOS and direct binary downloads on Linux and Windows.

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

Brigade CLI is significant because it packages the client side of an ambitious Kubernetes-native automation system. It is also a useful historical marker: a CNCF-era project that reached broad enough distribution for multiple package managers, then moved into archived status while retaining docs and install artifacts.

### 时间线

- 2017: Brigade repository created and early v0.x releases published.
- 2022: v2.6.0 released.
- 2022: CNCF TOC merged the proposal to archive Brigade.
- 2022: Brigade docs updated with archived-project messaging.
- 2026: Homebrew stable version still reported as 2.6.0.

### Related projects

- Brigade gateways include GitHub, Bitbucket, Docker Hub, CloudEvents, and Slack gateway repositories.
- Brigade event sources include cron and other event-producing components.
- Brigade SDKs include Go code in the main repository and a JavaScript/TypeScript SDK referenced by the README.
- Kubernetes is the underlying platform Brigade abstracts.

### 来源

- <https://docs.brigade.sh/topics/project-developers/brig/>
- <https://formulae.brew.sh/api/formula/brigade-cli.json>
- <https://github.com/brigadecore/brigade>
- <https://github.com/cncf/toc/pull/915>
- <https://raw.githubusercontent.com/brigadecore/brigade/main/README.md>


## 安全说明

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:** brigade-cli
- **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

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

- Debian apt - brig - 0.95+dfsg-3: installed executable or alias match | Debian stable package indexes: brig from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | BLAST Ring Image Generator | http://sourceforge.net/projects/brig/
- Nix - brig: installed executable or alias match | nixpkgs package indexes: pkgs/by-name/br/brig/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - brig - 0.95+dfsg-3: installed executable or alias match | Ubuntu 24.04 LTS package indexes: brig from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | BLAST Ring Image Generator | http://sourceforge.net/projects/brig/


## 相关链接

- [Cloud CLI packages](https://pkg.so/zh-hans/cloud-clis/) - Belongs to a cloud or infrastructure 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.
- [act](https://pkg.so/zh-hans/brew/act/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools.
- [circleci](https://pkg.so/zh-hans/brew/circleci/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools.
- [dagger](https://pkg.so/zh-hans/brew/dagger/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools.
- [bitrise](https://pkg.so/zh-hans/brew/bitrise/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools.
- [drone-cli](https://pkg.so/zh-hans/brew/drone-cli/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools.
- [pipelight](https://pkg.so/zh-hans/brew/pipelight/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools.
- [tektoncd-cli](https://pkg.so/zh-hans/brew/tektoncd-cli/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools, kubernetes.
- [codecov-cli](https://pkg.so/zh-hans/brew/codecov-cli/) - Shares pkgdb curated category or tags: ci-cd, cli, developer-tools.
- [temporal](https://pkg.so/zh-hans/brew/temporal/) - Local package facts share a topical domain. Shared terms: cli, command-line, developer, developer-tools, interface.

## Combined YAML source

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


## 来源

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