Skip to content

Installation

diffle ships as a single self-contained binary: it embeds its own web client and needs no checkout, no Node, and no sidecar files. It does need git on your PATH — that’s the only prerequisite.

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

The installer downloads the binary for your OS and architecture, verifies its SHA-256 against the published checksum manifest, and installs it to ~/.diffle/bin — and adds that directory to your PATH for you.

  1. Open a new terminal so PATH changes take effect.

  2. Check the version:

    Terminal window
    diffle --version
  3. From any git repository, start a review:

    Terminal window
    diffle

    diffle prints a http://localhost:<port> URL and opens it in your browser.

Terminal window
diffle update

diffle update downloads the latest release, verifies its checksum, and swaps the binary in place (on Windows the swap completes as the process exits). If a package manager installed diffle, it prints that manager’s upgrade command instead.

Remove the binary, and optionally your data directory:

Terminal window
curl -fsSL https://diffle.dev/install | DIFFLE_UNINSTALL=1 sh # binary + PATH block
rm -rf ~/.diffle # also removes review records + settings

The uninstall step removes the # >>> diffle >>> 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.

diffle’s server, CLI, and MCP runtime run on Bun; the client is a built Svelte SPA.

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