The command given in official documentation is not working for me. the command is:
./bin/plugin -install elasticsearch/elasticsearch-analysis-icu/$VERSION
replaced $VERSION as 2.7.0
./bin/plugin -install elasticsearch/elasticsearch-analysis-icu/2.7.0
I am running the command from the elastic search home directory.
~/elasticsearch-6.1.1$
You must be referring to outdated documentation.
The correct way to install the ICU analysis plugin on 6.1.1 is described here, i.e. run this command from our $ES_HOME folder
bin/elasticsearch-plugin install analysis-icu