ES CLI

Installation

Install the independent, unofficial open-source ES CLI from a prebuilt binary or build it from source.

Installs the latest prebuilt binary for your OS/arch, with no Go toolchain required:

curl -sSfL https://raw.githubusercontent.com/piyush-gambhir/es-cli/main/install.sh | sh

Pin a version or change the install directory:

curl -sSfL https://raw.githubusercontent.com/piyush-gambhir/es-cli/main/install.sh | VERSION=0.1.1 sh
curl -sSfL https://raw.githubusercontent.com/piyush-gambhir/es-cli/main/install.sh | INSTALL_DIR=~/.local/bin sh

Download a release manually

Prebuilt binaries are attached to each GitHub Release. Download the archive for your OS/arch, extract it, and put es on your PATH.

Assets are named es-cli_<os>_<arch>.tar.gz, where <os> is darwin or linux and <arch> is amd64 or arm64. Windows ships as es-cli_windows_amd64.zip.

Build from source

Requires a Go toolchain:

git clone https://github.com/piyush-gambhir/es-cli.git
cd es-cli/cli-go && make install

The binary is es.

Verify

es version

On this page