# Install difi with Homebrew

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

## 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
- **Version:** 0.2.31
- **Source summary:** Pixel-perfect terminal diff viewer
- **Homepage:** <https://github.com/xguot/difi>
- **Repository:** <https://github.com/xguot/difi>
- **Last updated:** 2026-07-28T14:10:39+02:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- difi (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.2.31
## 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.



## Combined YAML source

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


## Sources

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