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

Git diff pager based on delta but with a file tree. Version 0.11.0 via Homebrew; verified from local package data.

## 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
- **Package manager page:** <https://formulae.brew.sh/formula/diffnav>
- **Version:** 0.11.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>
- **Upstream docs:** <https://github.com/dlvhdr/diffnav#readme>
- **License:** MIT
- **Source archive:** <https://github.com/dlvhdr/diffnav/archive/refs/tags/v0.11.0.tar.gz>
- **Generated:** 2026-07-09T07:20:21+00:00

## Executables

- diffnav (cli)
- diffnav (alias)

## Dependencies

- git-delta

## 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-09
- Package-manager version: 0.11.0
- Local data: ok
- Upstream repository: https://github.com/dlvhdr/diffnav
- Upstream latest detected: v0.11.0 (current)
- info: No package-manager update timestamp was available.
## 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

## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** diffnav
- **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

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


## 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.
- [git-delta](https://www.automicvault.com/pkg/brew/git-delta/) - Runtime dependency declared by Homebrew.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [diff-so-fancy](https://www.automicvault.com/pkg/brew/diff-so-fancy/) - Shares av.db curated category or tags: cli, developer-tools, diff, git, pager.
- [diffr](https://www.automicvault.com/pkg/brew/diffr/) - Shares av.db curated category or tags: cli, developer-tools, diff, git.
- [difftastic](https://www.automicvault.com/pkg/brew/difftastic/) - Shares av.db curated category or tags: cli, developer-tools, diff, git.
- [difi](https://www.automicvault.com/pkg/brew/difi/) - Shares av.db curated category or tags: cli, developer-tools, diff, git.
- [git-split-diffs](https://www.automicvault.com/pkg/brew/git-split-diffs/) - Shares av.db curated category or tags: cli, developer-tools, diff, git, version-control.
- [gitu](https://www.automicvault.com/pkg/brew/gitu/) - Shares av.db curated category or tags: cli, developer-tools, git, tui, version-control.
- [gitui](https://www.automicvault.com/pkg/brew/gitui/) - Shares av.db curated category or tags: cli, developer-tools, git, tui, version-control.

## Combined YAML source

View the package source record on GitHub. [combined/diffnav.yml](https://github.com/automic-vault/db/blob/main/combined/diffnav.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
- external package-manager database matches
- cross-ecosystem install command graph
