2016-10-21 17:01:34 +08:00
+++
title = "Installing Plugins"
type = "docs"
[menu.docs]
parent = "plugins"
weight = 1
+++
# Grafana Plugins
From Grafana 3.0+ not only are datasource plugins supported but also panel plugins and apps.
Having panels as plugins make it easy to create and add any kind of panel, to show your data
or improve your favorite dashboards. Apps is something new in Grafana that enables
bundling of datasources, panels, dashboards and Grafana pages into a cohesive experience.
Grafana already have a strong community of contributors and plugin developers.
By making it easier to develop and install plugins we hope that the community
can grow even stronger and develop new plugins that we would never think about.
To discover plugins checkout the official [Plugin Repository ](https://grafana.net/plugins ).
2016-02-29 23:53:47 +08:00
2016-03-30 22:56:22 +08:00
# Installing plugins
2016-02-29 23:53:47 +08:00
2016-03-16 18:56:19 +08: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 23:53:47 +08:00
2016-03-01 17:42:49 +08:00
### Grafana plugin directory
2016-10-21 17:01:34 +08:00
2016-08-11 13:39:34 +08: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 17:42:49 +08:00
2016-03-02 15:38:56 +08:00
### Grafana-cli commands
List available plugins
2016-02-29 23:53:47 +08:00
```
2016-03-21 17:01:07 +08:00
grafana-cli plugins list-remote
2016-02-29 23:53:47 +08:00
```
2016-11-02 01:35:15 +08:00
Install the latest version of a plugin
2016-02-29 23:53:47 +08:00
```
2016-03-21 17:01:07 +08:00
grafana-cli plugins install < plugin-id >
2016-02-29 23:53:47 +08:00
```
2016-11-02 01:35:15 +08:00
Install a specific version of a plugin
```
grafana-cli plugins install < plugin-id > < version >
```
2016-03-02 15:38:56 +08:00
List installed plugins
2016-02-29 23:53:47 +08:00
```
2016-03-21 17:01:07 +08:00
grafana-cli plugins ls
2016-02-29 23:53:47 +08:00
```
2016-04-12 06:05:28 +08:00
Update all installed plugins
2016-02-29 23:53:47 +08:00
```
2016-04-12 06:05:28 +08:00
grafana-cli plugins update-all
2016-02-29 23:53:47 +08:00
```
2016-03-01 17:42:49 +08:00
2016-04-12 06:05:28 +08:00
Update one plugin
2016-03-01 17:42:49 +08:00
```
2016-04-12 06:05:28 +08:00
grafana-cli plugins update < plugin-id >
2016-03-01 17:42:49 +08:00
```
2016-03-02 15:38:56 +08:00
Remove one plugin
2016-03-01 17:42:49 +08:00
```
2016-03-21 17:01:07 +08:00
grafana-cli plugins remove < plugin-id >
2016-03-01 17:42:49 +08:00
```