Installing Cover CLI
Download the zip file from Diffblue and unzip in a suitable location (
The Cover CLI comprises a script and some jar files:
dcover.bat- a batch script (Windows)
dcover- a bash script (Linux/macOS)
To be able to run the Cover CLI on multiple projects, add the relevant script to your path, or create an alias.
Add to path:
Add the following line to your
~/.profile (Linux) or
(You will need to log out and in again, or reload your profile with
source ~/.(z)profile for the changes to your path to become active)
installation_location to your search path by editing system environment variables
(Control Panel → System and Security → System → Advanced System Settings → Environmental Variables)
(You will need to start a new shell window for the changes to your path to become active)
Add to alias:
Add the following line to your shell profile (e.g.
Set-Alias dcover installation_location/dcover.bat
Check you can run dcover
dcover --help to confirm that the command is found on your path and to view help information about the tool.