Installation
Install the zyndiff binary, connect it to your coding agents, and confirm it starts a review. zyndiff is one self-contained executable with its web client built in, so you need no checkout and no Node. The only prerequisite is git on your PATH.
Install
Section titled “Install”curl -fsSL https://zyndiff.dev/install | shpwsh -c "irm https://zyndiff.dev/install.ps1 | iex"This needs PowerShell 7 or newer. Windows PowerShell 5.1 won’t run it. Install PowerShell 7 with winget install --id Microsoft.PowerShell --source winget.
The installer downloads the binary for your OS and architecture, checks its SHA-256 against the release’s checksums.txt, and installs it to ~/.zyndiff/bin. Then it adds that directory to your PATH.
The GitHub Releases installer is the only supported channel right now.
The installer adds ~/.zyndiff/bin to your shell rc file, or to your user PATH on Windows, and backs up what it edits. What it changes, and the ZYNDIFF_* variables that move the install or skip a step, are in Configuration.
Shell completions
Section titled “Shell completions”On a terminal, the installer asks once, for example Install zyndiff shell completions for zsh? [y/N] (default no).
On macOS and Linux it works with zsh, bash and fish. On yes it adds one line inside the same # >>> zyndiff >>> block it wrote for PATH, so uninstalling removes it with the block. fish needs no profile edit: the installer writes ~/.config/fish/completions/zyndiff.fish instead, and the uninstaller removes that file. If your rc has no zyndiff block (for example with ZYNDIFF_NO_MODIFY_PATH=1), it prints the line and edits nothing.
On Windows it asks Install zyndiff shell completions for PowerShell? [y/N]. The installer never creates a block in your $PROFILE. If the profile already has a # >>> zyndiff >>> block, the line goes inside it. Otherwise the installer prints this line for you to add yourself:
if (Get-Command zyndiff -ErrorAction SilentlyContinue) { zyndiff completion --shell powershell | Out-String | Invoke-Expression }The offer is skipped when there’s no terminal, with ZYNDIFF_DRY_RUN, or with ZYNDIFF_NO_COMPLETIONS=1. You can print the script for any shell later with zyndiff completion --shell <bash|zsh|fish|powershell> (see the CLI reference).
Wire zyndiff into your coding agents
Section titled “Wire zyndiff into your coding agents”On a terminal, the installer ends by asking Set up zyndiff for your coding agents? [Y/n] and runs zyndiff setup. To do it yourself, or after installing a new agent, run:
zyndiff setupzyndiff setup looks for the agents you have installed (a binary on PATH or a config directory). It installs the zyndiff-review plugin into Claude Code and Codex, and adds a zyndiff MCP server entry to Cursor, Gemini CLI, VS Code, Windsurf, OpenCode, Zed and GitHub Copilot CLI. It prints every command and file change first and asks Proceed? [y/N] before applying anything. Restart the agent or start a new session afterwards.
To pick agents without the checkbox prompt, pass their ids:
zyndiff setup --agents claude,codex --yeszyndiff setup --remove undoes it. Without a terminal and without --agents, setup exits 1 and lists the agents it detected. The full table of agents and files is in Agent feedback.
You can skip this step entirely. zyndiff --wait hands feedback to any agent that can run a shell command, with no setup at all.
Verify
Section titled “Verify”-
Open a new terminal so the
PATHchange takes effect. -
Check the version:
Terminal window zyndiff --versionzyndiff v0.32.1If your shell says
zyndiff: command not found(PowerShell:The term 'zyndiff' is not recognized), the newPATHhasn’t loaded. Open another terminal, or on macOS and Linux runexec $SHELL -l. -
From any git repository with uncommitted changes, start a review:
Terminal window zyndiff[zyndiff] v0.32.1 — reviewing working tree (1 file changed)http://127.0.0.1:47123/?review=8e27d1e1-43ea-419f-8235-1378e5e6606b (ctrl+c to stop)Your browser opens on that URL. The port and review id differ on every run.
Next, follow the Quickstart to send your first review to an agent.
Keep it current
Section titled “Keep it current”zyndiff updatezyndiff update downloads the latest release, verifies its checksum, and swaps the binary in place. On Windows the swap completes as the process exits. It then stops idle MCP servers so your agents relaunch them on the new version, and prints the next steps that apply to you.
zyndiff also announces a new release in one line when you launch a review, checking at most once a day. Set ZYNDIFF_NO_UPDATE_CHECK=1 to silence it, or run zyndiff update --check to ask on demand.
Uninstall
Section titled “Uninstall”On a terminal, the uninstaller first runs zyndiff setup --remove, so agents you wired up stop pointing at the deleted binary. Cancelling that stops the uninstall with the binary still in place. Set ZYNDIFF_NO_SETUP=1 to skip it. Without a terminal, run zyndiff setup --remove yourself before uninstalling.
It removes the binary and its PATH entry and only removes empty directories. Your review records and settings stay in ~/.zyndiff until you delete them.
curl -fsSL https://zyndiff.dev/install | sh -s -- --uninstall # binary + PATH blockrm -rf ~/.zyndiff # also removes review records + settingsThe uninstall removes the # >>> zyndiff >>> block from your rc file and leaves the rest byte-identical. If you already have the script on disk, sh install.sh --uninstall does the same thing. ZYNDIFF_UNINSTALL=1 works too.
pwsh -c '$env:ZYNDIFF_UNINSTALL = 1; irm https://zyndiff.dev/install.ps1 | iex' # binary + user PATH entryRemove-Item -Recurse -Force ~/.zyndiff # also removes review records + settingsBuild from source
Section titled “Build from source”zyndiff’s server, CLI and MCP runtime run on Bun. The client is a built Svelte SPA.
git clone https://github.com/praneethilluru/ZynDiffcd zyndiffbun installbun run dev # backend + Vite with /api proxied