# 使用 Homebrew 安装 fmdiff

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

## 安装

```sh
sudo av install brew:fmdiff
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install fmdiff
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:fmdiff
- **软件包管理器:** Homebrew
- **软件包管理器页面:** <https://formulae.brew.sh/formula/fmdiff>
- **版本:** 20150915
- **来源摘要:** Use FileMerge as a diff command for Subversion and Mercurial
- **主页:** <https://github.com/brunodefraine/fmscripts>
- **仓库:** <https://github.com/brunodefraine/fmscripts>
- **上游文档:** <https://github.com/brunodefraine/fmscripts#readme>
- **许可证:** LicenseRef-Homebrew-public-domain
- **源码归档:** <https://github.com/brunodefraine/fmscripts/archive/refs/tags/20150915.tar.gz>
- **已生成:** 2026-07-25T07:20:51+00:00

## 可执行文件

- filemerge (cli)
- fmdiff (cli)
- fmdiff3 (cli)
- fmmerge (cli)
- fmresolve (cli)
- filemerge (别名)
- fmdiff (别名)
- fmdiff3 (别名)
- fmmerge (别名)
- fmresolve (别名)

## 安装行为

- post-install 钩子: 未定义
- Bottle: 可用 于 all

## 版本和新鲜度

- 页面生成时间: 2026-07-25
- 管理器版本: 20150915
- 本地数据: OK
- 上游仓库: https://github.com/brunodefraine/fmscripts
- 信息: No package-manager update timestamp was available.
- 信息: No cached GitHub release or tag data was available.
## 项目历史与用法

fmdiff is part of the fmscripts collection, a small set of Bash wrapper scripts that make Apple's FileMerge usable as a command-line diff and merge tool for Subversion and Mercurial workflows on macOS.

### 项目历史

The official repository was created in 2015 and the README describes the motivation: FileMerge ships with Apple's developer tools and is useful interactively, but its `opendiff` command does not match the blocking argument conventions expected by tools such as Subversion. The scripts adapt FileMerge to those command-line interfaces.

### 采用历史

Official evidence points to a niche, Mac-specific developer utility rather than a broad platform project. Its adoption surface is package-manager installation plus direct Makefile installation into `/usr/local/bin` for users who want FileMerge in Subversion or Mercurial.

### 使用方式

The README documents `fmdiff` as a `diff`-like command for `svn diff --diff-cmd`, `fmdiff3` as a `diff3`-like command for update and merge operations, `fmresolve` for resolving existing Subversion conflicts, and `fmmerge` as an external merge tool.

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

fmdiff is package-nerd significant as the kind of glue utility Homebrew preserves well: a small script set that normalizes a GUI developer tool into classic Unix command contracts. It also reflects an era when Mac developers frequently bridged Xcode tools with Subversion and Mercurial command-line workflows.

### 时间线

- 2015: The fmscripts repository was created.
- 2015: The repository README documented FileMerge wrappers for Subversion and experimental Mercurial support.

### Related projects

- Related official concepts and tools include Apple's FileMerge and `opendiff`, Subversion, Mercurial, `diff`, `diff3`, and the sibling fmscripts commands `fmdiff3`, `fmresolve`, `fmmerge`, and `filemerge`.

### 来源

- <https://api.github.com/repos/brunodefraine/fmscripts>
- <https://github.com/brunodefraine/fmscripts>
- <https://raw.githubusercontent.com/brunodefraine/fmscripts/master/README.md>


## 安全说明

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:** fmdiff
- **Version Scheme:** 0
- **Revision:** 0
- **Head Version:** HEAD
- **Requirements:** macos, xcode
- **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.
- [Developer build packages](https://www.automicvault.com/zh-hans/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [nbdime](https://www.automicvault.com/zh-hans/pkg/brew/nbdime/) - Shares av.db curated category or tags: cli, developer-tools, diff, merge.
- [scm-manager](https://www.automicvault.com/zh-hans/pkg/brew/scm-manager/) - Shares av.db curated category or tags: cli, developer-tools, mercurial, subversion.
- [tkdiff](https://www.automicvault.com/zh-hans/pkg/brew/tkdiff/) - Shares av.db curated category or tags: cli, developer-tools, diff, merge.
- [wiggle](https://www.automicvault.com/zh-hans/pkg/brew/wiggle/) - Shares av.db curated category or tags: cli, developer-tools, diff, merge.
- [bat-extras](https://www.automicvault.com/zh-hans/pkg/brew/bat-extras/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [biodiff](https://www.automicvault.com/zh-hans/pkg/brew/biodiff/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [brew-php-switcher](https://www.automicvault.com/zh-hans/pkg/brew/brew-php-switcher/) - Shares av.db curated category or tags: cli, developer-tools, macos.
- [cargo-instruments](https://www.automicvault.com/zh-hans/pkg/brew/cargo-instruments/) - Shares av.db curated category or tags: cli, developer-tools, macos.

## Combined YAML source

View the package source record on GitHub. [combined/fmdiff.yml](https://github.com/automic-vault/db/blob/main/combined/fmdiff.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
