Grafana plugins add data sources, panels, applications, and backend integrations to a self-hosted Grafana instance. Installing a plugin from the server CLI fits Linux servers where the administrator has shell access and wants the plugin placed in Grafana's managed plugin directory.
The Grafana server CLI uses grafana cli for plugin operations such as install, list, update, and remove. Older plugin catalog pages may still mention grafana-cli, but packaged Grafana installs that provide the grafana binary can run the grafana cli plugins install form.
The install must run on the Grafana server and must use the exact plugin ID from the Grafana plugin catalog. Grafana writes plugin files under /var/lib/grafana/plugins by default, then requires a grafana-server restart before the web application loads the new plugin.
Related: How to install Grafana on Ubuntu
Use the plugin ID, not the display name. Replace grafana-clock-panel with the ID for the plugin being installed.
$ sudo grafana cli plugins install grafana-clock-panel Downloaded and extracted grafana-clock-panel v3.2.2 zip successfully to /var/lib/grafana/plugins/grafana-clock-panel Please restart Grafana after installing or removing plugins.
$ sudo systemctl restart grafana-server
$ systemctl is-active grafana-server active
$ sudo grafana cli plugins ls installed plugins: grafana-clock-panel @ 3.2.2
The exact version changes as plugin releases are published. Look for the target plugin ID in the installed plugins list.
Server administrator access is required to install, update, or uninstall plugins from the UI. Organization administrator access may be enough to configure some app plugins after installation.