# Install difi with Homebrew

Pixel-perfect terminal diff viewer. Version 0.2.30 via Homebrew; verified 2026-07-07.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install difi
```

  Evidence: local Homebrew formula metadata

## Package facts

- **Package key:** brew:difi
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/difi>
- **Version:** 0.2.30
- **Source summary:** Pixel-perfect terminal diff viewer
- **Homepage:** <https://github.com/xguot/difi>
- **Repository:** <https://github.com/xguot/difi>
- **Upstream docs:** <https://github.com/oug-t/difi#readme>
- **License:** MIT
- **Source archive:** <https://github.com/xguot/difi/archive/refs/tags/v0.2.30.tar.gz>
- **Last updated:** 2026-07-07T07:00:50Z
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- difi (cli)
- difi (alias)

## Build dependencies

- go

## Install behavior

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

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 0.2.30
- Package-manager updated: 2026-07-07
- Local data: ok
- Upstream repository: https://github.com/xguot/difi
- Upstream latest detected: v0.2.30 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

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

### Sources

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


## Security Notes

No matching local secret-handling manifest was found for difi. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** difi
- **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.
- [Developer build packages](https://www.automicvault.com/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [diffr](https://www.automicvault.com/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, code-review, developer-tools, diff, git.
- [diff-so-fancy](https://www.automicvault.com/pkg/brew/diff-so-fancy/) - Shares av.db curated category or tags: cli, developer-tools, diff, git.
- [diffnav](https://www.automicvault.com/pkg/brew/diffnav/) - Shares av.db curated category or tags: cli, developer-tools, diff, git.
- [diffstat](https://www.automicvault.com/pkg/brew/diffstat/) - Shares av.db curated category or tags: cli, code-review, developer-tools, diff.
- [difftastic](https://www.automicvault.com/pkg/brew/difftastic/) - Shares av.db curated category or tags: cli, developer-tools, diff, git.
- [colordiff](https://www.automicvault.com/pkg/brew/colordiff/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffoci](https://www.automicvault.com/pkg/brew/diffoci/) - Shares av.db curated category or tags: cli, developer-tools, diff.
- [diffoscope](https://www.automicvault.com/pkg/brew/diffoscope/) - Shares av.db curated category or tags: cli, developer-tools, diff.

## Combined YAML source

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