# 使用 Homebrew 安装 mcap

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

## 安装

```sh
sudo av install brew:mcap
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mcap
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mcap
- **软件包管理器:** Homebrew
- **版本:** 0.3.0
- **来源摘要:** Serialization-agnostic container file format for pub/sub messages
- **主页:** <https://mcap.dev>
- **仓库:** <https://github.com/foxglove/mcap>
- **最后更新:** 2026-07-15T09:44:52Z
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- mcap (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

MCAP is an open file format and command-line tool for recording, inspecting, and converting publish/subscribe message logs. It is serialization-agnostic, which lets robotics and telemetry systems store ROS, Protobuf, JSON, and other message encodings in one container format.

### 项目历史

Foxglove's official documentation presents MCAP as a container format for pub/sub messages with a formal specification, language libraries, and a CLI. The GitHub release history shows the mcap-cli release stream beginning publicly in 2022, alongside the broader effort to make robotics logs easier to inspect outside one vendor or middleware stack.

By 2026 the CLI had advanced to a v0.2.x release line, and the official release notes identify the CLI as rewritten in Rust. That kind of implementation change matters for package managers because it affects build dependencies, binary distribution, and performance expectations.

### 采用历史

MCAP adoption is strongest in robotics and observability workflows around Foxglove and ROS. The official documentation includes guides for getting started, the formal spec, and ecosystem integrations, while Homebrew packages the mcap executable as a convenient desktop and CI tool.

Unlike many robotics formats, MCAP was designed to be serialization-agnostic from the start. That made it attractive for package ecosystems because one CLI can inspect, validate, convert, and filter logs produced by different message schemas.

### 使用方式

Users install the mcap CLI to inspect metadata, validate files, recover or convert logs, and pipe message data into other tooling. Developers use the spec and language libraries when they need to produce or consume MCAP files directly from robots, simulations, or data pipelines.

The format is especially useful when logs must be archived, replayed, or shared between teams without assuming a single serializer or runtime.

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

MCAP is package-nerd significant because it turns a robotics logging format into a normal command-line artifact. Having a Homebrew formula for mcap lets developers inspect large log files on laptops without installing an entire robotics distribution.

It also represents a newer class of packages where the file format, spec site, libraries, and CLI are all part of one developer-facing artifact.

### 时间线

- 2022: Public mcap-cli GitHub releases began.
- 2022: The CLI release stream iterated rapidly through early v0.0.x versions.
- 2026: mcap-cli v0.1.0 and v0.2.0 releases were published, with v0.1.0 described as a Rust rewrite.
- 2026: Homebrew packages the mcap command for local log inspection and conversion workflows.

### Related projects

- Related projects include Foxglove, ROS bags, rosbag2, Protobuf, FlatBuffers, JSON Schema, and robotics telemetry tools that need durable log containers.

### 来源

- <https://github.com/foxglove/mcap>
- <https://github.com/foxglove/mcap/releases>
- <https://mcap.dev/>
- <https://mcap.dev/guides/getting-started>
- <https://mcap.dev/spec>
- source_facts.package-manager


## 安全说明

infrastructure mutation or orchestration signal.

- **Geiger 风险:** orange / 中
- infrastructure mutation or orchestration signal


## Combined YAML source

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


## 来源

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