Skip to content

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.

Terminal window
curl -fsSL https://zyndiff.dev/install | sh

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.

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:

Terminal window
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).

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:

Terminal window
zyndiff setup

zyndiff 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:

Terminal window
zyndiff setup --agents claude,codex --yes

zyndiff 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.

  1. Open a new terminal so the PATH change takes effect.

  2. Check the version:

    Terminal window
    zyndiff --version
    zyndiff v0.32.1

    If your shell says zyndiff: command not found (PowerShell: The term 'zyndiff' is not recognized), the new PATH hasn’t loaded. Open another terminal, or on macOS and Linux run exec $SHELL -l.

  3. 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.

Terminal window
zyndiff update

zyndiff 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.

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.

Terminal window
curl -fsSL https://zyndiff.dev/install | sh -s -- --uninstall # binary + PATH block
rm -rf ~/.zyndiff # also removes review records + settings

The 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.

zyndiff’s server, CLI and MCP runtime run on Bun. The client is a built Svelte SPA.

Terminal window
git clone https://github.com/praneethilluru/ZynDiff
cd zyndiff
bun install
bun run dev # backend + Vite with /api proxied