# 使用 Homebrew 安装 marcli

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

## 安装

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

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install marcli
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:marcli
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/marcli>
- **版本:** 1.3.1
- **来源摘要:** Parse MARC (ISO 2709) files
- **主页:** <https://github.com/hectorcorrea/marcli>
- **仓库:** <https://github.com/hectorcorrea/marcli>
- **上游文档:** <https://github.com/hectorcorrea/marcli#readme>
- **许可证:** MIT
- **源码归档:** <https://github.com/hectorcorrea/marcli/archive/refs/tags/v1.3.1.tar.gz>
- **已生成:** 2026-07-08T07:18:31+00:00

## 可执行文件

- marcli (cli)
- marcli (别名)

## 构建依赖

- go

## 安装行为

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

## 版本和新鲜度

- 页面生成时间: 2026-07-08
- 管理器版本: 1.3.1
- 本地数据: OK
- 上游仓库: https://github.com/hectorcorrea/marcli
- 检测到的最新版本: v1.3.1 (当前)
- 信息: No package-manager update timestamp was available.
## 项目历史与用法

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

## 源数据库详情

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** marcli
- **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://www.automicvault.com/zh-hans/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Terminal utility packages](https://www.automicvault.com/zh-hans/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/zh-hans/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Networking and protocol packages](https://www.automicvault.com/zh-hans/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [go](https://www.automicvault.com/zh-hans/pkg/brew/go/) - Build dependency declared by Homebrew.
- [marmot](https://www.automicvault.com/zh-hans/pkg/brew/marmot/) - Shares av.db curated category or tags: cli, data, metadata.
- [oj](https://www.automicvault.com/zh-hans/pkg/brew/oj/) - Shares av.db curated category or tags: cli, data, parser.
- [raptor](https://www.automicvault.com/zh-hans/pkg/brew/raptor/) - Shares av.db curated category or tags: cli, data, parser.
- [rdb](https://www.automicvault.com/zh-hans/pkg/brew/rdb/) - Shares av.db curated category or tags: cli, data, parser.
- [stanford-parser](https://www.automicvault.com/zh-hans/pkg/brew/stanford-parser/) - Shares av.db curated category or tags: cli, data, parser.
- [tika](https://www.automicvault.com/zh-hans/pkg/brew/tika/) - Shares av.db curated category or tags: cli, data, metadata.
- [unitycatalog](https://www.automicvault.com/zh-hans/pkg/brew/unitycatalog/) - Shares av.db curated category or tags: cli, data, metadata.
- [xerces-c](https://www.automicvault.com/zh-hans/pkg/brew/xerces-c/) - Shares av.db curated category or tags: cli, data, parser.
- [libxls](https://www.automicvault.com/zh-hans/pkg/brew/libxls/) - Local package facts share a topical domain. Shared terms: cli, data, files, parser.

## Combined YAML source

View the package source record on GitHub. [combined/marcli.yml](https://github.com/automic-vault/db/blob/main/combined/marcli.yml)


## 来源

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- cross-ecosystem install command graph
