> For the complete documentation index, see [llms.txt](https://docs.starrocks.io/llms.txt). This page is also available as Markdown at its `.md` URL.

# UNINSTALL PLUGIN

UNINSTALL PLUGIN is used to uninstall a plugin.

tip

This operation requires the SYSTEM-level PLUGIN privilege. You can follow the instructions in [GRANT](https://docs.starrocks.io/docs/sql-reference/sql-statements/account-management/GRANT.md) to grant this privilege.

## Syntax[​](#syntax "Direct link to Syntax")

```sql
UNINSTALL PLUGIN <plugin_name>

```

plugin_name can be viewed through SHOW PLUGINS command

Only non-builtin plugins can be uninstalled.

## Examples[​](#examples "Direct link to Examples")

1. Uninstall a plugin:

   ```sql
   UNINSTALL PLUGIN auditdemo;

   ```
