docs(plugins): basic instructions for installing plugins

This commit is contained in:
bergquist 2016-03-01 10:42:49 +01:00
parent 2647f59df1
commit f78f7d6b37
1 changed files with 17 additions and 4 deletions

View File

@ -10,22 +10,35 @@ page_keywords: grafana, plugins, documentation
The easiest way to install plugins is by using the CLI tool grafana-cli which is bundled with grafana. The easiest way to install plugins is by using the CLI tool grafana-cli which is bundled with grafana.
To list available plugins ### Grafana plugin directory
On Linux systems the grafana-cli will assume that the grafana plugin directory is "/var/lib/grafana/plugins". Its possible to override the directory which grafana-cli will operate on by specifing the --path flag. On Windows systems this parameter have to be specified for every call.
### List available plugins
``` ```
grafana-cli list-remove grafana-cli list-remove
``` ```
To install a plugin type ### Install a plugin type
``` ```
grafana-cli install <plugin-id> grafana-cli install <plugin-id>
``` ```
To list installed plugins ### List installed plugins
``` ```
grafana-cli ls grafana-cli ls
``` ```
to upgrade all installed plugins ### Upgrade all installed plugins
``` ```
grafana-cli upgrade-all grafana-cli upgrade-all
``` ```
### Upgrade one plugin
```
grafana-cli upgrade <plugin-id>
```
### Remove one plugin
```
grafana-cli remove <plugin-id>
```