# Install diffnav with Homebrew, MacPorts, Nix, pacman, scoop

Git diff pager based on delta but with a file tree. Version 0.12.0 via Homebrew; verified 2026-07-25. Also installable with nix: nix profile install nixpkgs#diffnav.

## Install

```sh
sudo av install brew:diffnav
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install diffnav
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install diffnav
```

  Evidence: MacPorts ports tree: textproc/diffnav/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#diffnav
```

  Evidence: nixpkgs package indexes: pkgs/by-name/di/diffnav/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S diffnav
```

  Evidence: Arch Linux sync databases: diffnav from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz

### Windows

- Scoop (92%):

```sh
scoop install main/diffnav
```

  Evidence: Scoop official bucket manifest trees: bucket/diffnav.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1

## Package facts

- **Package key:** brew:diffnav
- **Package manager:** Homebrew
- **Version:** 0.12.0
- **Source summary:** Git diff pager based on delta but with a file tree
- **Homepage:** <https://github.com/dlvhdr/diffnav>
- **Repository:** <https://github.com/dlvhdr/diffnav>
- **Last updated:** 2026-07-25T14:21:57-04:00
- **Generated:** 2026-08-03T19:37:03+00:00

## Executables

- diffnav (alias)

## Install behavior

- Bottle: not available

## Freshness

- Page generated: 2026-08-03
- Package-manager version: 0.12.0
## Project history and usage

diffnav is a Git diff pager that combines delta-style diff rendering with a file-tree navigation pane. It is a newer terminal UI tool aimed at making large diffs easier to browse.

### Project history

The diffnav repository was created in 2024 and describes the tool as a Git diff pager based on delta with a GitHub-like file tree. Its README documents side-by-side and unified views, watch mode, file-tree controls, and configuration through YAML.

The release feed shows rapid early iteration through 2026, with versions from the 0.6.0 through 0.11.0 series published in the first quarter of that year.

### Adoption history

Because diffnav is young, its adoption history is still mostly upstream-led: the README documents installation through Homebrew from the author's tap or building with Go, plus usage as a global Git diff pager. The package-manager interest is in bringing a newer TUI diff-navigation workflow to standard install channels.

### How it is used

Users pipe git diff or gh pr diff output into diffnav, or configure Git with pager.diff diffnav. The tool adds keyboard navigation, file-tree toggling, side-by-side or unified rendering, and watch mode for refreshing a diff command.

### Why package nerds care

diffnav matters to package nerds as part of the modern wave of Go-based terminal UIs: a single installable binary, YAML config, Git integration, and explicit dependence on established projects such as delta and Bubble Tea.

### Timeline

- 2024: The dlvhdr/diffnav GitHub repository is created.
- 2026: Version 0.6.0 is released.
- 2026: Version 0.11.0 is released.

### Related projects

- delta, Bubble Tea, Git, gh, and gh-dash are the closest projects named or implied by upstream documentation.

### Sources

- <https://github.com/dlvhdr/diffnav>
- <https://api.github.com/repos/dlvhdr/diffnav>
- <https://raw.githubusercontent.com/dlvhdr/diffnav/main/README.md>
- <https://api.github.com/repos/dlvhdr/diffnav/releases>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals

## Other Package-Manager Records

- Nix - diffnav: normalized package name match | nixpkgs package indexes: pkgs/by-name/di/diffnav/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- pacman - diffnav - 0.11.0-1: normalized package name match | Arch Linux sync databases: diffnav from https://geo.mirror.pkgbuild.com/extra/os/x86_64/extra.db.tar.gz | git diff pager based on delta but with a file tree, à la GitHub | https://github.com/dlvhdr/diffnav
- MacPorts - diffnav: normalized package name match | MacPorts ports tree: textproc/diffnav/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Scoop - main/diffnav: normalized package name match | Scoop official bucket manifest trees: bucket/diffnav.json from https://api.github.com/repos/ScoopInstaller/Main/git/trees/master?recursive=1


## Combined YAML source

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


## Sources

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