> For the complete documentation index, see [llms.txt](https://docs.sonarsource.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.sonarsource.com/sonarqube-server/8.9/setup-and-upgrade/install-a-plugin.md).

# Install a plugin

Learn how to install a plugin in SonarQube Server 8.9.

{% hint style="info" %}
**For AI agents:** You're in the SonarQube Server 8.9 documentation. For a list of all 8.9 pages, see the [SonarQube Server 8.9 page index](https://4108688904-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FG0n8jfxwZN8LmyH08dMa%2Fuploads%2F8WN59Z2YOHCj6T8O2i2L%2Fsonarqube-server-8.9-llms.txt?alt=media). For the whole site, see the [page index](https://docs.sonarsource.com/llms.txt) or the [full text](https://docs.sonarsource.com/llms-full.txt). For another version, replace 8.9 in the URL with that version. The [latest version](https://docs.sonarsource.com/sonarqube-server/) has no version number in its URL.
{% endhint %}

There are two ways to install plugins in SonarQube Server:

* **Marketplace** - With SonarQube Community Build, you can use Marketplace to automatically install plugins from the SonarQube Server. 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 Server. You can also manually install plugins if your SonarQube Server instance doesn’t have internet access or the plugin you’re installing isn’t in the Marketplace.

{% hint style="warning" %}
Plugins are not provided by Sonar, and you therefore install them at your own risk. A SonarQube Server administrator needs to acknowledge this risk in the Marketplace before installing plugins or when prompted in SonarQube Server after installing a plugin manually.
{% endhint %}

## Installing plugins from the marketplace <a href="#installing-plugins-from-the-marketplace" id="installing-plugins-from-the-marketplace"></a>

{% hint style="info" %}
You can only install and update plugins from the Marketplace in SonarQube Community Build. With commercial editions, you need manually install and update plugins.
{% endhint %}

If your instance has internet access and you’re connected with a SonarQube Server 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.

See [Marketplace](/sonarqube-server/8.9/instance-administration/marketplace.md) for more details on how to configure your SonarQube Server to connect to the internet.

## Manually installing plugins <a href="#manually-installing-plugins" id="manually-installing-plugins"></a>

To manually install a plugin:

1. Download the plugin you want to install. The version needs to be compatible with your SonarQube Server 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 instance.

## Uninstalling plugins <a href="#uninstalling-plugins" id="uninstalling-plugins"></a>

To uninstall a plugin from the Marketplace (**Administration > Marketplace**):

1. Sort the **Plugins** list by installed plugins by selecting **Installed** above the list.
2. Find the plugin you want to uninstall.
3. Click the **Uninstall** button to the right of the plugin information.
4. Restart your SonarQube Server instance.

To uninstall a plugin manually:

1. Delete the plugin from the `$SONARQUBE-HOME/extensions/plugins` folder.
2. Restart your SonarQube Server instance.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.sonarsource.com/sonarqube-server/8.9/setup-and-upgrade/install-a-plugin.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
