# 使用 Homebrew, Nix 安装 benthos

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

## 安装

```sh
sudo av install brew:benthos
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install benthos
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#benthos
```

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

## 软件包事实

- **软件包键:** brew:benthos
- **软件包管理器:** Homebrew
- **版本:** 4.77.0
- **来源摘要:** Stream processor for mundane tasks written in Go
- **主页:** <https://github.com/redpanda-data/benthos>
- **仓库:** <https://github.com/redpanda-data/benthos>
- **最后更新:** 2026-07-30T15:03:10Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- benthos (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Benthos is the long-running Go stream-processing package identity behind declarative source-to-pipeline-to-sink data flows. In current upstream naming it sits beside Redpanda Connect: the Benthos repository notes that the original connector-heavy project moved to redpanda-data/connect, while the Homebrew package preserves the older benthos command-line name.

### 项目历史

The public Benthos release line goes back at least to v0.0.1 in September 2016. Its core idea was operationally small: a single Go binary configured with YAML, a pipeline of processors, and connectors for mundane data plumbing tasks.

Redpanda's current Connect repository carries the same model forward, documenting declarative pipelines, Bloblang mappings, stateless operation, and at-least-once delivery using in-process transactions rather than local disk state.

### 采用历史

Benthos found a niche with operators who wanted stream processing without committing to a broker-specific framework or a large runtime. Package-manager adoption matters because the tool is useful as a local binary for testing configs, running one-off transforms, and shipping small container images.

The name also survived a branding and repository transition. Existing scripts, formulas, and muscle memory still point at benthos even as the broader upstream project is presented as Redpanda Connect.

### 使用方式

Typical usage is to run a YAML config that declares an input, processors, and an output. Common tasks include message transformation, enrichment, filtering, bridging queues and object stores, and testing pipeline fragments locally.

For package users, the interesting command-line surface is not just running a daemon; it is linting, discovering components, and iterating on Bloblang mappings in the same binary that can later run in a container.

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

Benthos is package-nerd significant because the package name captures a lineage split: old Benthos, Redpanda Connect, and the later Bento fork all occupy related but distinct points in the same ecosystem.

It is also a good example of why CLI package names can outlive product names. The executable, config examples, and dependency graph around plugins can remain stable enough that distributions keep the historical name even while upstream documentation changes.

### 时间线

- 2016: Benthos v0.0.1 was published publicly.
- 2021: The v3 release line was active, showing Benthos had become a mature Go stream-processing project.
- 2024: Redpanda's Benthos repository stated that the original connector repository moved to redpanda-data/connect.
- 2025: Redpanda Connect continued the v4 release line under the Connect name.

### Related projects

- Redpanda Connect is the direct successor/continuation for the connector-rich project history.
- Bento is a WarpStream-maintained fork of the pre-license-change project line.
- Bloblang is the mapping language associated with Benthos-style pipelines.

### 来源

- <https://docs.redpanda.com/redpanda-connect/about>
- <https://github.com/redpanda-data/benthos>
- <https://github.com/redpanda-data/connect>
- <https://github.com/redpanda-data/connect/releases/tag/v0.0.1>


## 安全说明

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


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

- Nix - benthos: normalized package name match | nixpkgs package indexes: pkgs/by-name/be/benthos/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/benthos.yml](https://github.com/mxcl/pkgdb/blob/main/combined/benthos.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
