curator_cli command not found

In this troubleshooting guide we learn how to fix curator_cli command not found error message

Introduction

When you run more command in linux terminal / console, you get the following error message

curator_cli: command not found

or when using sudo you get the following error message

sudo: curator_cli: command not found

Solutions to curator_cli: command not found

How To Fix curator_cli: command not found in Ubuntu / Debian / Kali Linux / Raspbian

In Ubuntu curator_cli is provided by elasticsearch-curator package.

elasticsearch-curator is:

Elasticsearch Curator helps manage Elasticsearch time-series indices. It consists of a Python library and a CLI tool providing a high-level interface to Elasticsearch administration tasks, such as:

  • Management of index aliases
  • Index optimization
  • Changing the replica count
  • Modifying the shard/index allocation using routing tags
  • Index snapshotting

This package contains the curator and es_repo_mgr command-line tools.

To fix this problem, we can install more using the command below.

sudo apt-get -y install elasticsearch-curator

This command might take some time to finish depending on your machine internet connection.

You can also use apt command to install elasticsearch-curator.

sudo apt -y install elasticsearch-curator

Or if you have aptitude installed you can use the following command.

sudo aptitude install elasticsearch-curator

Summary

In this tutorial we learn how to fix curator_cli command not found error in Ubuntu / Debian / Kali Linux or Raspbian distribution.