# 使用 Homebrew 安装 mcap

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install mcap
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:mcap
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/mcap>
- **版本:** 0.3.0
- **来源摘要:** Serialization-agnostic container file format for pub/sub messages
- **主页:** <https://mcap.dev>
- **仓库:** <https://github.com/foxglove/mcap>
- **上游文档:** <https://mcap.dev>
- **许可证:** MIT
- **源码归档:** <https://github.com/foxglove/mcap/archive/refs/tags/releases/mcap-cli/v0.3.0.tar.gz>
- **最后更新:** 2026-07-15T09:44:52Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- mcap (cli)
- mcap (别名)

## 构建依赖

- rust

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 0.3.0
- 管理器更新时间: 2026-07-15
- 本地数据: OK
- 上游仓库: https://github.com/foxglove/mcap
- 检测到的最新版本: releases/mcap-cli/v0.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

## 源数据库详情

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


## 相关链接

- [Secret-risk packages](https://pkg.so/zh-hans/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [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.
- [Networking and protocol packages](https://pkg.so/zh-hans/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [rust](https://pkg.so/zh-hans/brew/rust/) - Build dependency declared by Homebrew.
- [lcm](https://pkg.so/zh-hans/brew/lcm/) - Shares pkgdb curated category or tags: cli, data, pubsub, robotics, serialization.
- [libmatio](https://pkg.so/zh-hans/brew/libmatio/) - Shares pkgdb curated category or tags: cli, data, file-formats.
- [parquet-cli](https://pkg.so/zh-hans/brew/parquet-cli/) - Shares pkgdb curated category or tags: cli, data, file-formats.
- [libxls](https://pkg.so/zh-hans/brew/libxls/) - Shares pkgdb curated category or tags: cli, data, file-formats.
- [libesedb](https://pkg.so/zh-hans/brew/libesedb/) - Shares pkgdb curated category or tags: cli, data, file-formats.
- [parqeye](https://pkg.so/zh-hans/brew/parqeye/) - Shares pkgdb curated category or tags: cli, data, file-formats.
- [protobuf](https://pkg.so/zh-hans/brew/protobuf/) - Shares pkgdb curated category or tags: cli, data, serialization.
- [hdf5](https://pkg.so/zh-hans/brew/hdf5/) - Shares pkgdb curated category or tags: cli, data, file-format.

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