About Multiple Versions of Elasticsearch

When working with different projects of different development phases, you might need multiple versions of Elasticsearch on your computer. You can manage them using a handy tool EVM (Elasticsearch Version Manager):

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
# Install EVM
$ sudo curl -o /usr/local/bin/evm https://raw.githubusercontent.com/duydo/evm/master/evm
$ sudo chmod +x /usr/local/bin/evm

# List all installed Elasticsearch versions
$ evm list

# Install a particular Elasticsearch version
$ evm install 7.8.0

# Link Elasticsearch to a particular version
$ evm use 7.8.0

# Start Elasticsearch
$ evm start

# Check Elasticsearch status
$ evm status

# Start Elasticsearch
$ evm stop

Tips and Tricks Dev Ops Elasticsearch