Grafana CLI | Grafana Labs
grafana.com › docs › grafana--pluginsDir value overrides the path to where your local Grafana instance stores plugins. Use this option if you want to install, update, or remove a plugin somewhere other than the default directory ("/var/lib/grafana/plugins") [$GF_PLUGIN_DIR]. Example: grafana-cli --pluginsDir "/var/lib/grafana/devplugins" plugins install <plugin-id>