Core Maintenance
Install, Update, Disable, Re-Enable, and Uninstall Cover CLI
Install
1. Install Diffblue Cover CLI
Download the Diffblue Cover CLI
.exeinstaller or.zipfile from: &#xNAN;- The Diffblue website - Free Trial version. &#xNAN;- The link sent to you via your Diffblue Cover welcome email. &#xNAN;- Your organization's internal file/app store.If you use the installer, run the
.exeinstaller and follow the on-screen prompts - during installation you can select where to install Diffblue Cover.If you use the archive file, extract the
.zipfile to an appropriate installation folder. Add the install folder path to yourPATHenvironment variable or create a new%DCOVER%environment variable and add that toPATH.When you're done, restart your PC. Once complete, open Windows PowerShell and enter
dcover versionto check the install andPATHconfiguration - if all is OK, Cover will display the current version.
Download the Diffblue Cover CLI
.zipfile from: &#xNAN;- The Diffblue website - Free Trial version. &#xNAN;- The link sent to you via your Diffblue Cover welcome email. &#xNAN;- Your organization's internal file/app store.Unzip the Cover CLI zip file to an appropriate installation location (for example,
~/bin) and add this location in thePATHenvironment variable using the following example commands:\mkdir ~/bin cd ~/bin unzip ~/diffblue-cover*.zip export PATH=$PATH:~/binReminder: Make sure that the
PATHenvironment variable is set permanently according to your operating system instructions.Once complete, run
dcover versionto check the install andPATHconfiguration - if all is OK, Cover will display the current version.
2. Apply a license
Diffblue Cover requires a remote license check with the Diffblue licensing server each time it's used. For help troubleshooting license keys, network connections, and proxy server settings, as well as details of offline licensing (Enterprise Edition only), see Licensing.
To activate your license, open Windows PowerShell (Windows) or Terminal (macOS/Linux) and enter the command
dcover activate <license-key>- replace<license-key>with the license key provided in your welcome email or provided by your organization.Entering multiple different license keys will overwrite the existing key.
You can check your license status by running the command
dcover license
Update
Using the link provided by Diffblue, download the new Diffblue Cover CLI file - either the
.exeinstaller or.ziparchive, as needed.If you use the installer, run the
.exeinstaller and follow the on-screen prompts.If you use the archive file, extract the
.zipfile to your existing Cover CLI folder.When your done, restart your PC.
Using the link provided by Diffblue, download the Diffblue Cover CLI
.zipfile.Unzip the Cover CLI zip file to an appropriate installation location (for example,
~/bin) and update this location in thePATHenvironment variable using the following example commands:\mkdir ~/bin cd ~/bin unzip ~/diffblue-cover*.zip cd export PATH=$PATH:~/binReminder: Make sure that the
PATHenvironment variable is set permanently according to your operating system instructions.
Last updated
Was this helpful?

