# Install marcli with Homebrew

Parse MARC (ISO 2709) files. Version 1.3.1 via Homebrew; verified from local package data.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install marcli
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:marcli
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/marcli>
- **Version:** 1.3.1
- **Source summary:** Parse MARC (ISO 2709) files
- **Homepage:** <https://github.com/hectorcorrea/marcli>
- **Repository:** <https://github.com/hectorcorrea/marcli>
- **Upstream docs:** <https://github.com/hectorcorrea/marcli#readme>
- **License:** MIT
- **Source archive:** <https://github.com/hectorcorrea/marcli/archive/refs/tags/v1.3.1.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- marcli (cli)
- marcli (alias)

## Build dependencies

- go

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux

## Freshness

- Page generated: 2026-07-09
- Package-manager version: 1.3.1
- Local data: ok
- Upstream repository: https://github.com/hectorcorrea/marcli
- Upstream latest detected: v1.3.1 (current)
- info: No package-manager update timestamp was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <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


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Source Database Details

- **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


## Related links

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


## Sources

- 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
