The documentation for each plugin usually includes specific installation instructions for that plugin, but below we document the various available options:
Core Elasticsearch pluginsedit
Core Elasticsearch plugins can be installed as follows:
sudo bin/elasticsearch-plugin install [plugin_name]
For instance, to install the core ICU plugin, just run the following command:
sudo bin/elasticsearch-plugin install analysis-icu
This command will install the version of the plugin that matches your Elasticsearch version and also show a progress bar while downloading.