macOS
brew install hunklocal Homebrew formula metadata
brew
Review-first terminal diff viewer for agent-authored changesets. Version 0.17.6 via Homebrew; verified 2026-07-25.
install
brew install hunklocal Homebrew formula metadata
overview
Review-first terminal diff viewer for agent-authored changesets
history
hunk is a review-first terminal diff viewer for agent-authored changesets. It sits in the developer-tools package niche around Git diffs, terminal UIs, code review, and AI-agent review workflows.
The official GitHub repository was created on 2026-03-17, and its README describes Hunk as a review-first terminal diff viewer built on OpenTUI and Pierre diffs.
The README documents multi-file review navigation, inline AI and agent annotations, split and stacked layouts, watch mode, keyboard and mouse support, pager support, Git difftool support, Jujutsu and Sapling integration, and an OpenTUI component export.
Hunk's official homepage positions it as a diff viewer for humans and agents, with install paths through npm, Homebrew, and Nix.
The changelog shows rapid early adoption of package-manager concerns in spring 2026: Homebrew tap automation, prebuilt Windows support, npm packaging fixes, Nix outputs, release benchmarks, and performance work for large reviews.
The README documents hunk diff for current repository changes, hunk show for commits, hunk patch for patch input, hunk pager for Git pager integration, and hunk session commands for live agent review workflows.
Preferences can be persisted in ~/.config/hunk/config.toml or .hunk/config.toml, including theme, layout mode, VCS override, watch behavior, line numbers, wrapping, menu bar, agent notes, and transparent background.
hunk is package-nerd significant because it packages a modern terminal review UI across npm, Homebrew, and Nix while also publishing prebuilt artifacts and an embeddable OpenTUI component.
Its focus on agent-authored changesets makes it part of the 2020s shift from plain diff pagers toward review tools that can display machine-written context beside code.
security posture
No matching local secret-handling manifest was found for hunk. Nucleus package metadata is still published here so future coverage has a stable package URL.
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/hunk/config.toml.hunk/config.tomlexecutables
| Command | Kind | Exposure | Note |
|---|---|---|---|
hunk | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/modem-dev/hunk
install metadata
| Package key | brew:hunk |
|---|---|
| Version | 0.17.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/hunk |
| Homepage | https://hunk.dev/ |
| Repository | https://github.com/modem-dev/hunk |
| Upstream docs | https://github.com/modem-dev/hunk#readme |
| License | MIT |
| Source archive | https://github.com/modem-dev/hunk/archive/refs/tags/v0.17.6.tar.gz |
| Last updated | 2026-07-25T03:21:50Z |
| Pulse | updated |
| Build dependencies | bun, node |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | hunk |
| 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 |
|
source trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.