Review the whole branch.
See every changed file, leave line comments, and send your notes back to your coding agent.
npx diffhub@latest cmuxTry a live reviewRuns locally · no account · MIT licensed
What the command does
Checked 10 Aug 2026
- 0
- Network requests
- CLI source
- 2047
- Port
- bin/diffhub.mjs
- 20.11+
- Node.js
- package.json
- MIT
- Licence
- GitHub
Stop scrolling through diffs.
Terminal output disappears as soon as it scrolls past. DiffHub keeps the whole branch open and updates it as files change.
Keyboard shortcuts
Review without reaching for the mouse.
Move between files, switch views, filter, refresh, and collapse files from the keyboard.
Move between files
jkSwitch diff view
sFilter the tree
/Refresh changes
rCollapse a file
c
Live demo
Open a public pull request.
Paste a GitHub pull request URL to open it in DiffHub. No account or install needed.
A few things to know.
Do you need cmux to use DiffHub?
No. npx diffhub@latest opens DiffHub in a normal browser tab. Add cmux to open it in cmux on macOS. That option needs cmux.app in /Applications.
Does DiffHub send your code anywhere?
No. DiffHub runs on localhost:2047 and stores comments in .git/diffhub-comments.json. It does not make network requests.
When is git diff enough?
Use git diff for quick checks and scripts. Use DiffHub when you need to review several files or leave comments for the next agent pass.
Compare DiffHub, cmux diff, and hunk, or read how to review agent-written code.
Review before you push.
Run DiffHub in any git repository. It finds the base branch and opens the diff on localhost.
npx diffhub@latest cmuxRead the install guide