Skip to content

Commit

Permalink
Merge branch 'release/v0.1.4'
Browse files Browse the repository at this point in the history
  • Loading branch information
duydo committed May 2, 2017
2 parents ed4ad6c + ecad7d7 commit f65cc65
Show file tree
Hide file tree
Showing 2 changed files with 282 additions and 216 deletions.
41 changes: 23 additions & 18 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,41 @@
EVM - Simple Elasticsearch Version Manager
==========================================

**EVM** is a simple bash script used for development to manage different versions of Elasticsearch on your local machine.
`evm` is a simple bash script used for development to manage different versions of Elasticsearch on your local machine.

## Installation
Just download the `evm` script then make it executable

```sh
wget https://raw.githubusercontent.com/duydo/evm/master/evm -O '/usr/local/bin/evm'
sudo wget -O /usr/local/bin/evm https://raw.githubusercontent.com/duydo/evm/master/evm
sudo chmod 755 /usr/local/bin/evm
```

## Usage
```sh
evm list List all versions of Elasticsearch have been installed
evm install <version> Install a specific Elasticsearch version
evm remove <version> Remove a specific Elasticsearch version
evm use <version> Use a specific Elasticsearch version
evm which Display the current Elasticsearch version
evm plugin [<install|remove> <plugin>] List, install or remove an Elasticsearch plugin
evm start [--config-path </path/to/config/dir>] Start Elasticsearch node with/without a specific config directory
evm -h or --help Display usage information
evm -V or --version Display version information
evm -h Print help information
evm -V Print version information
evm list List all installed Elasticsearch versions
evm version Print the current activated Elasticsearch version
evm install <version> Install a specific Elasticsearch version
evm use <version> Use a specific Elasticsearch version
evm remove <version> Remove a specific Elasticsearch version if available
evm which [<version>] Print path to installed Elasticsearch version
evm plugin list List all installed Elasticsearch plugins
evm plugin <install|remove> <plugin> Install or remove an Elasticsearch plugin
evm start [-c </path/to/config/dir>] Start Elasticsearch with/without a specific config directory
```
## Example
```sh
evm install 5.3.1 Install Elasticsearch 5.3.1
evm use 5.3.1 Use Elasticsearch 5.3.1
evm start Start Elasticsearch node with the default config directory
evm start --config-path /etc/elasticsearch Start Elasticsearch node with /etc/elasticsearch config directory
evm plugin install x-pack Install the x-pack plugin
evm plugin remove x-pack Remove the x-pack plugin
evm install 5.3.1 Install Elasticsearch 5.3.1
evm use 5.3.1 Use Elasticsearch 5.3.1
evm start Start Elasticsearch node with the default config directory
evm start -c /etc/elasticsearch Start Elasticsearch node with /etc/elasticsearch config directory
evm plugin install x-pack Install the x-pack plugin
evm plugin remove x-pack Remove the x-pack plugin
```
## Note
To remove, delete or uninstall evm - just remove the $EVM_HOME folder (usually ~/.evm)
To uninstall, just remove the $EVM_HOME folder (usually ~/.evm)
## Licence
This software is licensed under the Apache License, version 2 ("ALv2"), quoted below.
Expand Down
Loading

0 comments on commit f65cc65

Please sign in to comment.