elasticsearch-plugin command line tool to install, list, and remove plugins. It is
located in the
$ES_HOME/bin directory by default but it may be in a
different location depending on which Elasticsearch package you installed:
Run the following command to get usage instructions:
sudo bin/elasticsearch-plugin -h
Running as root
If Elasticsearch was installed using the deb or rpm package then run
root so it can write to the appropriate files on disk.
bin/elasticsearch-plugin as the user that owns all of the Elasticsearch
If you run Elasticsearch using Docker, you can manage plugins using a configuration file.