What it does
Hunk is a viewer for code changes (diffs) that runs in the terminal, the text window programmers type commands into. It shows changes across many files with a sidebar for moving between them.
It is built for people who review code written with AI agents: notes from AI tools can appear next to the lines they refer to. It can reload as files change and open GitHub pull requests directly.
Who it's for
Programmers who review a lot of code changes, especially from AI coding agents.
Can I use it without coding?
Developers only. It's a command-line tool for developers. New to this? Start here.
Can I run it?
- Cost
- FreeNothing to pay or sign up for.
- Runs on
- Mac, Windows, Linux
- Computer
- An ordinary computer is fine
- Privacy
- Runs on your own device: your data stays with you
- API key
- Not needed
Try it
Using Claude Code, Cursor or another AI coding assistant? Paste the prompt and it will walk you through the setup.New to this?
Before you install
- Only download from the official GitHub page. Copies with similar names exist for many popular projects.
- License (MIT): Very permissive: free to use, change and share, including for business.
- More on staying safe