# 使用 Homebrew, Nix, scoop 安装 avro-tools

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

## 安装

```sh
sudo av install brew:avro-tools
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install avro-tools
```

  证据: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#avro-tools
```

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

### Windows

- Scoop (92%):

```sh
scoop install main/avro-tools
```

  证据: Scoop official bucket manifest trees: bucket/avro-tools.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## 软件包事实

- **软件包键:** brew:avro-tools
- **软件包管理器:** Homebrew
- **版本:** 1.12.1
- **来源摘要:** Avro command-line tools and utilities
- **主页:** <https://avro.apache.org/>
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- avro-tools (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

Avro Tools is the Java command-line utility package for Apache Avro. It is the package users reach for when they want to inspect schemas, convert data, generate code, or manipulate Avro object container files from a terminal.

### 项目历史

Apache Avro's 1.0.0 release was announced in July 2010. The project defined a compact binary data format, a JSON-based schema system, object container files, and RPC support, then shipped language implementations from a single Apache-managed source tree.

The tools package grew naturally out of Avro's Java implementation: once a format has schemas, container files, IDL, and generated code, it needs a portable command-line utility. The Homebrew avro-tools formula packages that Java-oriented CLI separately from native C and C++ formulas.

### 采用历史

Avro's adoption is tied to data-platform workflows where schema evolution and compact record serialization matter. Apache's project site now explicitly calls Avro a leading serialization format for record data and a first choice for streaming data pipelines.

The avro-tools jar became the everyday operator interface for that ecosystem. Even users who do not write Java often keep avro-tools around because it can inspect and transform Avro files without having to compile a language binding into a one-off program.

### 使用方式

Common avro-tools usage includes printing or validating schemas, converting between JSON and Avro container files, compiling schemas or IDL to generated language code, and debugging records in data pipelines. Package managers usually expose this as an avro-tools command wrapping the upstream jar.

Avro Tools has no documented per-user config file or credential file. Inputs are schemas, Avro files, IDL/protocol files, and command-line options.

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

For package nerds, avro-tools is the canonical example of a data-format CLI shipped as a Java artifact but consumed like a Unix tool. The formula is less about libraries and more about making a jar feel like a normal executable in scripts.

It also anchors the split packaging story for Avro: avro-tools for the Java CLI, avro-c for native C utilities, and avro-cpp for generated C++ bindings, all backed by one upstream release stream.

### 时间线

- 2010: Apache Avro 1.0.0 announced as the first Avro release.
- 2021: Avro 1.11.0 released with 120 JIRA issues addressed.
- 2024: Avro 1.12.0 released by the Apache Avro community.
- 2025: Avro 1.12.1 listed as the latest Apache Avro release.

### Related projects

- avro-c and avro-cpp package native parts of the same Apache Avro source tree.
- Apache Avro language bindings and the Avro specification define the data files that avro-tools reads and writes.
- Data platforms that store or stream Avro records often use avro-tools for local inspection and pipeline debugging.

### 来源

- <https://avro.apache.org/>
- <https://avro.apache.org/blog/2010/07/15/avro-1.0.0/>
- <https://avro.apache.org/blog/releases/>
- <https://avro.apache.org/docs/>
- <https://avro.apache.org/docs/1.12.0/api/java/org/apache/avro/tool/package-summary.html>
- <https://github.com/apache/avro>
- source_facts.description
- source_facts.executables


## 安全说明

narrow executable package without higher-risk signals.

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

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

- Nix - avro-tools: normalized package name match | nixpkgs package indexes: pkgs/by-name/av/avro-tools/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Scoop - main/avro-tools: normalized package name match | Scoop official bucket manifest trees: bucket/avro-tools.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/avro-tools.yml](https://github.com/mxcl/pkgdb/blob/main/combined/avro-tools.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
