# 使用 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
- **版本:** 2.6.0
- **来源摘要:** Brigade command-line interface
- **主页:** <https://brigade.sh>
- **仓库:** <https://github.com/brigadecore/brigade>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- brig (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

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

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

- 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/


## 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
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
