cd /news/developer-tools/hunk-review-first-terminal-diff-view… · home topics developer-tools article
[ARTICLE · art-82634] src=hunk.dev ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Hunk – Review-first terminal diff viewer for agentic coders

Hunk, a new terminal diff viewer designed for agentic coders, has been released, offering a review-first interface that displays entire changesets in a single stream with side-by-side and stacked layouts, keyboard navigation, and support for agent annotations. The tool can be installed via npm (`npm i -g hunkdiff`), Homebrew (`brew install hunk`), or Nix (`nix run github:modem-dev/hunk`), and requires Node.js 18 or newer for npm installs.

read1 min views1 publishedAug 1, 2026
Hunk – Review-first terminal diff viewer for agentic coders
Image: source

One stream, every file.

The whole changeset reads top to bottom in sidebar order — no flipping between single-file views. File counts at a glance, hunk jumps with [ and ], and the sidebar takes you straight to any file.

How reviews work → Hunk is a review-first diff viewer that plays nice with agents. It's fast, it looks good, and it works everywhere.

The whole changeset reads top to bottom in sidebar order — no flipping between single-file views. File counts at a glance, hunk jumps with [ and ], and the sidebar takes you straight to any file.

Agents leave notes in a sidecar; hunk renders each one inside the diff, right above the hunk it annotates — summary, rationale, and author. Step through hunks with [ and ] and the notes follow.

Click a file in the sidebar to jump, wheel-scroll the stream, hover a row to leave a note — or never leave the keyboard. Pipe patches straight in and hunk is your pager, too.

Side-by-side when your terminal is wide, stacked when it's narrow. Auto picks for you; press 1, 2, or 0 to override at any time, with wrapping and line numbers toggled live.

Understand structure, not just added and removed lines. Ships with its own looks plus the classics — Catppuccin, Dracula, Gruvbox, GitHub, and more — or roll your own in config.

npm i -g hunkdiff

brew install hunk

nix run github:modem-dev/hunk Then hunk diff to review your working tree, or hunk show to review a commit. npm installs require Node.js 18 or newer.

── more in #developer-tools 4 stories · sorted by recency
── more on @hunk 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/hunk-review-first-te…] indexed:0 read:1min 2026-08-01 ·