Hunk
Review-first terminal diff viewer for agentic coders
By modem-dev. Free and open source for Windows, macOS, Linux. Latest version v0.25.0, released 2026-11-11.
Is Hunk safe?
Trust score 67/100: Good. A solid project with a few gaps. Download from the official release and keep it updated.
- Established community: 9,847 GitHub stars
- Actively developed: code changed in the last 30 days
- Downloads come straight from the project's own GitHub releases
- Publishes checksums so you can verify the files
Things to watch:
- No OpenSSF Scorecard report yet, so security practices are unverified
9,847 GitHub stars · 141k downloads.
Download Hunk
- hunkdiff-darwin-arm64.tar.gz (macOS, 45.6 MB)
- hunkdiff-darwin-x64.tar.gz (macOS, 47.9 MB)
- hunkdiff-linux-arm64.tar.gz (Linux, 67.5 MB)
- hunkdiff-linux-x64.tar.gz (Linux, 68.1 MB)
- hunkdiff-windows-x64.tar.gz (Windows, 58.7 MB)
Downloads come straight from github.com/modem-dev/hunk.
About Hunk
Hunk is an interactive terminal diff viewer for reviewing code changes, built on OpenTUI and Pierre diffs.
• multi-file review stream with sidebar navigation • inline AI and agent annotations beside the code • split, unified, and responsive auto layouts • watch mode for auto-reloading file and Git-backed reviews • browser review: the same stream in a local web page, with mouse line-range notes • keyboard, mouse, pager, and Git difftool support
Windows users can install with npm or mise. Other installation methods are also available:
Windows requires mise 2026.8.6 or newer. Nix users can use the default package exported in flake.nix; see the Nix guide for details. Hunk also ships as a default tool in Omarchy, installed through mise.
Similar apps
- Diffnav: A git diff pager based on delta but with a file tree, à la GitHub. (Good, 67/100)
- Lazygit: simple terminal UI for git commands (High trust, 81/100)
- Bat: A cat(1) clone with wings. (Good, 65/100)
- Onefetch: Command-line Git information tool (Good, 73/100)
- Gitlogue: A cinematic Git commit replay tool for the terminal, turning your Git history into a living, animated story. (Good, 64/100)
- Gitu: A TUI Git client inspired by Magit (Good, 64/100)
Questions
Is Hunk safe to download?
Hunk has an OpenShelf trust score of 67/100 (Good). A solid project with a few gaps. Download from the official release and keep it updated. Main thing to watch: No OpenSSF Scorecard report yet, so security practices are unverified.
Is Hunk free?
Yes. Hunk is free and open source under the MIT license. The source code is public at github.com/modem-dev/hunk.
Does Hunk work on Windows, macOS and Linux?
Hunk is available for Windows, macOS, Linux. Ready-made downloads exist for Windows, macOS, Linux.
How do I install Hunk?
Download the official file from the project's GitHub releases (for example hunkdiff-darwin-arm64.tar.gz) and run it.
What are alternatives to Hunk?
Similar open-source apps: Diffnav (trust 67/100), Lazygit (trust 81/100), Bat (trust 65/100), Onefetch (trust 73/100).