LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

hunk

Review-first terminal diff viewer for agentic coding

TLDR

Open hunk on a git repo
$ hunk
copy
Install via npm or Homebrew
$ npm i -g hunk
copy

SYNOPSIS

hunk [*options*] [*path*]

DESCRIPTION

hunk is a terminal diff review tool aimed at developers and coding agents: navigate hunks, review changes with a keyboard-first UI, and integrate into agentic workflows. Install from npm, Homebrew, or upstream releases (modem-dev/hunk).

PARAMETERS

Default UI reviews the working tree / staged changes. Flags for path, staging, and theme are listed in hunk --help.

INSTALL

brew install hunk
copy
nix profile install nixpkgs#hunk
copy

CAVEATS

Relatively new; UX may change quickly. Requires a git repository for typical use.

SEE ALSO

git-diff(1), delta(1), difft(1)

RESOURCES

Copied to clipboard
Kai