> For the complete documentation index, see [llms.txt](https://cover-docs.diffblue.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://cover-docs.diffblue.com/get-started/update-cover.md).

# Update Cover

How to update Cover Plugin and Cover CLI to the latest version

Diffblue releases product updates about every two weeks to continuously provide you with product enhancements and new features. Note that:

* If needed, check the details for the latest updates, and even the older ones - see [What's new](/updates-and-upgrades/whats-new.md).
* When you update, you'll always be updated to the latest version.
* If you're using Cover Plugin **and** Cover CLI, we recommend that you update both products to the latest version.

{% tabs %}
{% tab title="Cover Plugin" %}
{% hint style="info" %}
Updating Cover Plugin may take a few minutes to complete and will require an IDE restart - you won't be able to create any tests for your projects while the update is progressing.
{% endhint %}

1. In IntelliJ, go to `File > Settings > Plugins` (Windows/Linux) or `IntelliJ IDEA > Preferences > Plugins` (macOS), highlight the Diffblue Plugin and click `Update` in the details panel.
2. When you're ready, click `Restart IDE` to complete the update.
   {% endtab %}

{% tab title="Cover CLI" %}
{% hint style="info" %}
Updating Cover CLI may take a few minutes to complete and you won't be able to create any tests for your projects while the update is progressing.
{% endhint %}

**Windows:**

1. Using the link provided by Diffblue, download the new Diffblue Cover CLI file - either the `.exe` installer or `.zip` archive, as needed.
2. If you use the installer, run the `.exe` installer and follow the on-screen prompts.
3. If you use the archive file, extract the `.zip` file to your existing Cover CLI folder. Note that if you'd like to retain the previous release files, move these to a different folder first or create a new folder for the new version. Make sure to update the `PATH` or `DCOVER` environment variable configured during your original install, if needed.
4. When your done, restart your PC. Once complete, run `dcover version` to check the install and `PATH` configuration - if all is OK, Cover will display the current version.

**Linux/macOS:**

1. Using the link provided by Diffblue, download the Diffblue Cover CLI `.zip` file.
2. Unzip the Cover CLI zip file to an appropriate installation location using the following example commands. Note that if you'd like to retain the previous release files, move these to a different folder first or create a new folder for the new version. Make sure to update the `PATH` environment variable configured during your original install, if needed.\\

   ```
   mkdir ~/bin
   cd ~/bin
   unzip ~/diffblue-cover*.zip
   export PATH=$PATH:~/bin
   ```

   \
   **Reminder:** Make sure that the `PATH` environment variable is set permanently according to your operating system instructions.
3. Once complete, run `dcover version` to check the install and `PATH` configuration - if all is OK, Cover will display the current version.
   {% endtab %}
   {% endtabs %}

**Note:** To update Cover Reports, see [Install and update Cover Reports](/features/cover-reports/cover-reports-administrator/installation.md).
