# 使用 Homebrew 安装 colfer

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install colfer
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:colfer
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/colfer>
- **版本:** 1.8.1
- **来源摘要:** Schema compiler for binary data exchange
- **主页:** <https://github.com/pascaldekloe/colfer>
- **仓库:** <https://github.com/pascaldekloe/colfer>
- **许可证:** CC0-1.0
- **源码归档:** <https://github.com/pascaldekloe/colfer/archive/refs/tags/v1.8.1.tar.gz>
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- colf (cli)
- colf (别名)

## 构建依赖

- 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
- 管理器版本: 1.8.1
- 本地数据: OK
- 上游仓库: https://github.com/pascaldekloe/colfer
- 检测到的最新版本: v1.8.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** colfer
- **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


## 相关链接

- [Source-control packages](https://pkg.so/zh-hans/source-control-tools/) - Belongs to a source-control 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.
- [protobuf](https://pkg.so/zh-hans/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [avro-c](https://pkg.so/zh-hans/brew/avro-c/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [avro-tools](https://pkg.so/zh-hans/brew/avro-tools/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [avro-cpp](https://pkg.so/zh-hans/brew/avro-cpp/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [lcm](https://pkg.so/zh-hans/brew/lcm/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [mcap](https://pkg.so/zh-hans/brew/mcap/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [typical](https://pkg.so/zh-hans/brew/typical/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [sqlite](https://pkg.so/zh-hans/brew/sqlite/) - Shares pkgdb curated category or tags: cli, data.
- [kiwi-schema](https://pkg.so/zh-hans/npm/kiwi-schema/) - Local package facts share a topical domain. Shared terms: binary, binary-format, cli, data, format.
- [pbf](https://pkg.so/zh-hans/npm/pbf/) - Local package facts share a topical domain. Shared terms: binary, cli, data, format, schema.
- [typewriter](https://pkg.so/zh-hans/npm/typewriter/) - Local package facts share a topical domain. Shared terms: cli, compiler, data, serialization.

## 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
- package-page enrichment
- curated package history
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- cross-ecosystem install command graph
