Prerequisites
Verify that you meet the system requirements before proceeding.Install
- macOS (Apple Silicon)
- macOS (Intel)
- Linux
- Windows
~/.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:
Installation customization
Installation customization
To pass options, download and run the script directly instead of piping it:
- macOS (Apple Silicon)
- macOS (Intel)
- Linux
- Windows
| Option | Shell | PowerShell | Description |
|---|---|---|---|
| Custom install directory | --install-dir <path> | -InstallDir <path> | Install to a custom directory instead of ~/.diffblue/agents/ |
| Skip PATH modification | --no-modify-path | -NoModifyPath | Do not add the cli directory to your PATH |
| Force | --force | -Force | Stop a running server before overwriting the existing installation |
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 theinstall command.
Interactive configuration
Run the install command without arguments to select your agent interactively: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:<agent-type> with claude or copilot, and <path-to-agent> with the absolute path to the agent executable.
Example:
Configuration options
See the CLI reference for all configuration options, including environment variables for agent platform selection and custom paths.Manual install
-
Download the archive for your platform:
- macOS (Apple Silicon)
- macOS (Intel)
- Linux
- Windows
-
Extract the archive:
- macOS (Apple Silicon)
- macOS (Intel)
- Linux
- Windows
-
Add the
clidirectory to yourPATHor create an alias. ReplaceX.X.Xwith the version you installed.- macOS (Apple Silicon)
- macOS (Intel)
- Linux
- Windows
-
Verify the installation:
Troubleshooting
macOS: remove quarantine attribute
macOS: remove quarantine attribute
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: scripts blocked from executing
Windows: scripts blocked from executing
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.