Skip to main content

Prerequisites

Verify that you meet the system requirements before proceeding.

Install

The install script downloads the latest release for your platform, extracts it to ~/.diffblue/agents/ (%USERPROFILE%\.diffblue\agents on Windows), and adds it to your PATH. To reinstall or update, run the same command again: the script will replace the existing installation. If the Diffblue Agents server is running, stop it before reinstalling with diffblue-agents --stop-server from your project directory. To verify, navigate to your project directory and run:
To pass options, download and run the script directly instead of piping it:
You can also install manually by downloading and extracting the archive yourself.

Configure your AI coding agent

Diffblue Agents uses Claude Code by default. To select a different supported AI coding agent platform or provide a custom path, use the install command.

Interactive configuration

Run the install command without arguments to select your agent interactively:
The install command scans your PATH for supported agents and presents an interactive selection menu. If your agent is not detected automatically, select “Enter path manually” to specify the agent type and executable path. The install command saves your selection and then validates that the selected agent works correctly by running a test prompt, which may take up to 60 seconds. If validation fails, you may need to rerun the install command to correct the saved path.

Non-interactive configuration

To configure an agent without using the interactive selection menu, specify the agent type and path directly:
Replace <agent-type> with claude or copilot, and <path-to-agent> with the absolute path to the agent executable. Example:
This mode is useful for automated setup or CI/CD pipelines.

Configuration options

See the CLI reference for all configuration options, including environment variables for agent platform selection and custom paths.

Manual install

  1. Download the archive for your platform:
  2. Extract the archive:
  3. Add the cli directory to your PATH or create an alias. Replace X.X.X with the version you installed.
  4. Verify the installation:

Troubleshooting

macOS may quarantine files downloaded from the internet. If you see a warning that the file is from an unidentified developer, remove the quarantine attribute from the extracted directory:
Windows may block downloaded scripts from executing. In PowerShell, navigate into the Diffblue Agents installation directory and run:
If the scripts still fail to execute after unblocking, set your PowerShell execution policy to RemoteSigned for the current user:
Then restart your terminal.

Next steps

  • Quickstart — activate your license and run your first workflow.