Automic VaultAutomic Vault

brew

Install hunk with Homebrew

Review-first terminal diff viewer for agent-authored changesets. Version 0.17.6 via Homebrew; verified 2026-07-25.

install

Additional install commands

macOS

Homebrewverified ยท 100%
brew install hunk

local Homebrew formula metadata

overview

Package summary

Review-first terminal diff viewer for agent-authored changesets

Commands and aliases

  • hunk

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2026-03-17: The official GitHub repository was created.
  • 2026-03-20: The changelog lists the 0.1.0 release.
  • 2026-05-12: Version 0.12.0 added Homebrew tap release automation, Windows support, Nix outputs, and npm packaging improvements.
  • 2026-06-19: GitHub releases list v0.16.0.

Related projects

  • The README compares Hunk with lumen, difftastic, delta, diff-so-fancy, and GNU diff.
  • The project is built on OpenTUI and Pierre diffs and integrates with Git, Jujutsu, and Sapling.

security posture

No protected-tool coverage found yet

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.

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
~/.config/hunk/config.toml.hunk/config.toml

executables

Installed executables

CommandKindExposureNote
hunkcliglobal executable

freshness

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

page generated2026-07-25
manager version0.17.6
manager updated2026-07-25
local dataok
upstreamcurrent
latest detectedv0.17.6

https://github.com/modem-dev/hunk

  • okNo freshness warnings were generated.

install metadata

Package metadata

Package keybrew:hunk
Version0.17.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/hunk
Homepagehttps://hunk.dev/
Repositoryhttps://github.com/modem-dev/hunk
Upstream docshttps://github.com/modem-dev/hunk#readme
LicenseMIT
Source archivehttps://github.com/modem-dev/hunk/archive/refs/tags/v0.17.6.tar.gz
Last updated2026-07-25T03:21:50Z
Pulseupdated
Build dependenciesbun, node
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namehunk
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • package relationship graph
  • package version freshness
  • package-page enrichment