# 使用 Homebrew 安装 colfer

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

## 安装

```sh
sudo av install brew:colfer
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install colfer
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:colfer
- **软件包管理器:** Homebrew
- **版本:** 1.8.1
- **来源摘要:** Schema compiler for binary data exchange
- **主页:** <https://github.com/pascaldekloe/colfer>
- **仓库:** <https://github.com/pascaldekloe/colfer>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- colf (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Colfer is a binary serialization format and schema compiler optimized for speed and size.

### 项目历史

The official README describes Colfer as inspired by Protocol Buffers and centered on the colf compiler, which reads schema definitions and generates source code for marshaling and unmarshaling data structures.

### 采用历史

Official packaging notes mention prebuilt compiler releases and Homebrew installation, indicating a distribution model aimed at command-line compiler use rather than only library embedding.

### 使用方式

The colf command generates C, Go, Java, or JavaScript output from .colf schema files. The README recommends committing generated source code to version control to preserve build consistency and reduce compiler installation requirements.

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

Colfer is notable as a small schema compiler package with no runtime configuration and a source-generation workflow similar to other IDL and serialization compilers.

### 时间线

- 2015: Official GitHub repository is created.
- 2010s: README documents C, Go, Java, and JavaScript code generation support.
- 2020s: README continues to document Homebrew installation and prebuilt compiler releases.

### Related projects

- The official manual lists protoc and flatc as related tools, placing Colfer in the same package-manager neighborhood as Protocol Buffers and FlatBuffers compilers.

### 来源

- <https://github.com/pascaldekloe/colfer>
- <https://github.com/pascaldekloe/colfer/wiki/Spec>


## 安全说明

narrow executable package without higher-risk signals.

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


## Combined YAML source

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


## 来源

- pkg.so package database
- Geiger risk classifier
- curated package history
- pkgdb category and tag curation
- cross-ecosystem install command graph
