app/getting-started/installation
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 viewas above. - A
gitbinary on your PATH. Diffgazer shells out togitto read your status and diffs, so reviews fail ifgitis 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
Install the binary
Install Diffgazer globally. Run the line for your package manager:
bash
Verify the install
Print the installed version to confirm the binary is on your PATH:
bash
Run it
Run Diffgazer from inside a repository with changes:
bash
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
- Your first review: run Diffgazer against your changes and read the result.
- Providers and models: pick a provider and add the key Diffgazer needs.