# 使用 Homebrew 安装 marcli

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

## 安装

```sh
sudo av install brew:marcli
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install marcli
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:marcli
- **软件包管理器:** Homebrew
- **版本:** 1.3.1
- **来源摘要:** Parse MARC (ISO 2709) files
- **主页:** <https://github.com/hectorcorrea/marcli>
- **仓库:** <https://github.com/hectorcorrea/marcli>
- **最后更新:** 2026-07-29T17:04:50+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- marcli (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

marcli is a small Go command-line parser for MARC records, focused on reading MARC binary and MARC XML files and extracting or converting bibliographic metadata from the shell.

### 项目历史

The marcli GitHub repository was created in July 2017. Its README defines the goal narrowly: parse large MARC files in either MARC binary or MARC XML form and provide basic functionality to find specific records within a file.

The project is intentionally modest, but it continued to receive releases over time: GitHub release metadata shows 1.0.1 in 2020, 1.1.0 in 2022, 1.2.0 in May 2025, and 1.3.x releases in August 2025.

### 采用历史

marcli's adoption is strongest in the library-technology niche where MARC files remain common exchange artifacts. The official README specifically recommends Homebrew as the easiest Mac or Linux installation path, and the Homebrew formula packages the Go-built cmd/marcli executable.

The repository topics and README connect it to code4lib and MARC21-style workflows, making it a practical package for cataloging-data automation rather than a general data-conversion suite.

### 使用方式

Users run marcli with -file against .mrc or XML data. The README examples show printing records, matching records by string, selecting fields, counting records, and outputting Mnemonic MARC, MARC XML, MARC JSON, or MARC binary where supported.

For package users, the value is a single command that can inspect large library catalog exports without writing a parser or opening a heavyweight cataloging application.

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

marcli is package-index significant because it packages a niche professional data format into a simple CLI. That is exactly the kind of tool Homebrew users reach for when a one-off shell pipeline meets an old institutional file format.

### 时间线

- 2017: Public GitHub repository created.
- 2020: 1.0.1 release published.
- 2022: 1.1.0 release published.
- 2025: 1.3.1 release published.

### Related projects

- The README links MARC background to the Library of Congress.
- Other MARC tooling includes library-specific parsers and converters, but marcli's official scope is command-line parsing and filtering.

### 来源

- <https://api.github.com/repos/hectorcorrea/marcli>
- <https://api.github.com/repos/hectorcorrea/marcli/releases?per_page=5>
- <https://formulae.brew.sh/formula/marcli>
- <https://github.com/hectorcorrea/marcli>
- source_facts.package-manager


## 安全说明

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/marcli.yml](https://github.com/mxcl/pkgdb/blob/main/combined/marcli.yml)


## 来源

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