grafana-cli
A small executable that is bundled with Grafana serve.
TLDR
Install, update, or remove specific plugins
$ grafana-cli plugins [install|update|remove] [plugin_id1 plugin_id2 ...]
List all installed plugins
$ grafana-cli plugins ls
Install, update, or remove specific plugins