NOTE: You are looking at documentation for an older release. For the latest information, see the current release documentation.
plugin script is used 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