# 使用 Homebrew 安装 excel-compare

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

## 安装

```sh
sudo av install brew:excel-compare
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install excel-compare
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:excel-compare
- **软件包管理器:** Homebrew
- **版本:** 0.7.0
- **来源摘要:** Command-line tool (and API) for diffing Excel Workbooks
- **主页:** <https://github.com/na-ka-na/ExcelCompare>
- **仓库:** <https://github.com/na-ka-na/ExcelCompare>
- **最后更新:** 2026-06-22T14:03:17-07:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- excel_cmp (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

ExcelCompare is a Java command-line tool and API-oriented project for diffing Excel and OpenDocument spreadsheets.

### 项目历史

The GitHub repository was created on 2012-06-30, and release 0.3 was published on 2013-12-13. The README describes it as a CLI for diffing Excel and ODS workbooks, built on Apache POI and OdfToolkit.

### 采用历史

ExcelCompare found a practical niche among developers who need spreadsheet diffs in shells, scripts, and version-control workflows. The README explicitly documents macOS installation via Homebrew and notes packaged shell and batch scripts.

The project has remained recognizable enough for Homebrew packaging and GitHub issue-based maintenance, even though the core use case is narrow.

### 使用方式

The excel_cmp command compares two workbook files and exits 0 when workbooks match or 1 when they differ. It reports differing and extra cells, supports xls, xlsx, xlsm, and ods files, and can ignore sheets, rows, columns, or cell ranges independently for each input.

The README also documents unified-diff output and using /dev/null or Windows NUL as an empty file, which makes the tool suitable for git diff-style workflows over spreadsheets.

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

ExcelCompare packages a messy office-document problem into a scriptable Unix-style CLI with deterministic exit codes. That makes it useful in CI and review workflows where binary spreadsheet files otherwise resist normal diff tools.

### 时间线

- 2012: GitHub repository created.
- 2013: Release 0.3 published.
- Later README versions: Homebrew installation, ODS support, ignore rules, and unified-diff output documented.

### Related projects

- The README cites Apache POI for Excel parsing and OdfToolkit for OpenDocument spreadsheet parsing.

### 来源

- <https://github.com/na-ka-na/ExcelCompare>
- <https://raw.githubusercontent.com/na-ka-na/ExcelCompare/master/README.md>
- <https://api.github.com/repos/na-ka-na/ExcelCompare>
- <https://api.github.com/repos/na-ka-na/ExcelCompare/releases?per_page=100>


## 安全说明

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


## 来源

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