Skip to content

Installation

Install the Diffgazer CLI globally, then verify it runs.

Diffgazer is a single global binary published as the diffgazer npm package. Node floors move with releases, so run npm view diffgazer version engines --json to confirm the current published version and its exact Node floor before installing.

Requirements

  • A supported Node.js runtime; verify the exact floor for the published version with npm view as above.
  • A git binary on your PATH. Diffgazer shells out to git to read your status and diffs, so reviews fail if git is missing or you run it outside a repository.
  • At least one model provider key. Diffgazer brings no model of its own; you supply one. See providers and models.

Setup

01.

Install the binary

Install Diffgazer globally. Run the line for your package manager:

bash
npm install -g diffgazer
# or
pnpm add -g diffgazer
# or
bun add -g diffgazer
02.

Verify the install

Print the installed version to confirm the binary is on your PATH:

bash
diffgazer --version
03.

Run it

Run Diffgazer from inside a repository with changes:

bash
diffgazer

It starts a local web environment and opens it in your browser. If port 3000 is already taken, set a different one with PORT, for example PORT=4000 diffgazer.

Success:

Tip: For a walkthrough of what the review screen shows, see your first review.

Where to go next