Installation
Install the independent, unofficial open-source ES CLI from a prebuilt binary or build it from source.
Install script (recommended)
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 | shPin 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 shDownload 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 installThe binary is es.
Verify
es version