# 使用 Homebrew 安装 difi

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

## 安装

```sh
sudo av install brew:difi
```

其他安装命令:

### macOS

- Homebrew (100%):

```sh
brew install difi
```

  证据: local Homebrew formula metadata

## 软件包事实

- **软件包键:** brew:difi
- **软件包管理器:** Homebrew
- **版本:** 0.2.31
- **来源摘要:** Pixel-perfect terminal diff viewer
- **主页:** <https://github.com/xguot/difi>
- **仓库:** <https://github.com/xguot/difi>
- **最后更新:** 2026-07-28T14:10:39+02:00
- **已生成:** 2026-08-03T19:37:03+00:00

## 可执行文件

- difi (别名)

## 安装行为

- Bottle: 不可用

## 版本和新鲜度

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

difi is a Go terminal user interface for reviewing and refining Git diffs before pushing changes. Its official README frames it as a focused diff-review tool that can run inside a Git repository or consume raw patch data through standard input.

### 项目历史

The public GitHub repository was created in January 2026 and quickly centered on a single CLI workflow: inspect a branch, commit, or patch, navigate the file tree and diff view, and open files in an editor from the terminal. The project is distributed through Homebrew, Go install, AUR packages, and GitHub release binaries.

### 采用历史

Official project metadata shows early adoption inside the Git-and-terminal-tool niche rather than a long historical footprint. Its package-manager relevance comes from offering Homebrew installation for macOS and Linux alongside Go and Arch paths, making it easy to try without a custom build.

### 使用方式

Typical use is to run `difi` in a Git repository, pass a target such as `main` or `HEAD~1`, or pipe a generated diff into the command. The README also documents Jujutsu and vim-fugitive-oriented workflows, which positions it among developer tools that sit between raw `git diff` and full code-review platforms.

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

For package-history purposes, difi is notable as a modern Bubble Tea style terminal UI packaged early for Homebrew. It is a small example of the current wave of single-purpose Go CLIs that treat terminal interactivity, editor integration, and package-manager distribution as first-class ergonomics.

### 时间线

- 2026: Public GitHub repository created.
- 2026: GitHub releases provide prebuilt binaries for Linux, macOS, and Windows.
- 2026: README documents Homebrew, Go install, AUR, and manual installation paths.

### Related projects

- The README documents integrations with vim-fugitive and difi.nvim, and notes that raw diffs from other version-control tools such as Jujutsu can be piped into difi.

### 来源

- <https://api.github.com/repos/xguot/difi>
- <https://github.com/xguot/difi#readme>
- <https://api.github.com/repos/xguot/difi/releases?per_page=5>


## 安全说明

没有找到 difi 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。



## Combined YAML source

View the package source record on GitHub. [combined/difi.yml](https://github.com/mxcl/pkgdb/blob/main/combined/difi.yml)


## 来源

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