This version of the SonarQube documentation is no longer maintained. It relates to a version of SonarQube that is not active.

See latest version
Start Free
9.7 | Setup and upgrade | Install a plugin

Install a plugin

On this page

There are two ways to install plugins in SonarQube:

  • Marketplace - With Community Edition, you can use Marketplace to automatically install plugins from the SonarQube. With commercial editions, you can browse plugins in the Marketplace, but you need to manually install and update your plugins.
  • Manual Installation - You need to manually install plugins when using commercial editions of SonarQube. You can also manually install plugins if your SonarQube instance doesn't have internet access or the plugin you're installing isn't in the Marketplace.

Installing plugins from the marketplace

If your instance has internet access and you're connected with a SonarQube user with the Administer System global permission, you can find the Marketplace at Administration > Marketplace. From here:

  • Find the plugin you want to install
  • Click Install and wait for the download to be processed

Once the download is complete, a Restart button will be available to restart your instance. Restarting will enable the new plugin. This restart will not take into account any change to sonar-properties settings.

See Marketplace for more details on how to configure your SonarQube Server to connect to the internet.

Manually installing plugins

To manually install a plugin:

  1. Download the plugin you want to install. The version needs to be compatible with your SonarQube version.
  2. Put the downloaded jar in <SONARQUBE_HOME>/extensions/plugins, and remove any previous versions of the same plugins.
  3. Restart your SonarQube server.

Uninstalling plugins

To uninstall a plugin:

  1. Delete the plugin from the <SONARQUBE_HOME>/extensions/plugins folder.
  2. Restart your SonarQube server.

Was this page helpful?

© 2008-2024 SonarSource SA. All rights reserved. SONAR, SONARSOURCE, SONARQUBE, and CLEAN AS YOU CODE are trademarks of SonarSource SA.

Creative Commons License