Multiple plugins can be installed in one invocation as follows:
sudo bin/elasticsearch-plugin install [plugin_id] [plugin_id] ... [plugin_id]
plugin_id can be any valid form for installing a single plugin (e.g., the
name of a core plugin, or a custom URL).
sudo bin/elasticsearch-plugin install analysis-icu repository-s3
This command will install the versions of the plugins that matches your Elasticsearch version. The installation will be treated as a transaction, so that all the plugins will be installed, or none of the plugins will be installed if any installation fails.