2016-02-29 09:53:47 -06:00
---
page_title: Plugin installation
page_description: Plugin installation for Grafana
page_keywords: grafana, plugins, documentation
---
2016-03-30 09:56:22 -05:00
# Installing plugins
2016-02-29 09:53:47 -06:00
2016-03-16 05:56:19 -05:00
The easiest way to install plugins is by using the CLI tool grafana-cli which is bundled with grafana. Before any modification take place after modifying plugins, grafana-server needs to be restarted.
2016-02-29 09:53:47 -06:00
2016-03-01 03:42:49 -06:00
### Grafana plugin directory
2016-08-11 00:39:34 -05:00
On Linux systems the grafana-cli will assume that the grafana plugin directory is `/var/lib/grafana/plugins` . It's possible to override the directory which grafana-cli will operate on by specifying the --pluginsDir flag. On Windows systems this parameter have to be specified for every call.
2016-03-01 03:42:49 -06:00
2016-03-02 01:38:56 -06:00
### Grafana-cli commands
List available plugins
2016-02-29 09:53:47 -06:00
```
2016-03-21 04:01:07 -05:00
grafana-cli plugins list-remote
2016-02-29 09:53:47 -06:00
```
2016-03-02 01:38:56 -06:00
Install a plugin type
2016-02-29 09:53:47 -06:00
```
2016-03-21 04:01:07 -05:00
grafana-cli plugins install < plugin-id >
2016-02-29 09:53:47 -06:00
```
2016-03-02 01:38:56 -06:00
List installed plugins
2016-02-29 09:53:47 -06:00
```
2016-03-21 04:01:07 -05:00
grafana-cli plugins ls
2016-02-29 09:53:47 -06:00
```
2016-04-11 17:05:28 -05:00
Update all installed plugins
2016-02-29 09:53:47 -06:00
```
2016-04-11 17:05:28 -05:00
grafana-cli plugins update-all
2016-02-29 09:53:47 -06:00
```
2016-03-01 03:42:49 -06:00
2016-04-11 17:05:28 -05:00
Update one plugin
2016-03-01 03:42:49 -06:00
```
2016-04-11 17:05:28 -05:00
grafana-cli plugins update < plugin-id >
2016-03-01 03:42:49 -06:00
```
2016-03-02 01:38:56 -06:00
Remove one plugin
2016-03-01 03:42:49 -06:00
```
2016-03-21 04:01:07 -05:00
grafana-cli plugins remove < plugin-id >
2016-03-01 03:42:49 -06:00
```