The -U flag uninstalls the current version (if any), then installs the latest
version, or a specified one. Specify a specific version by adding == followed
by the version you’d like to install, like this:

The above commands each imply a system-wide installation. This usually
requires super-user access, or the sudo command. There is a way to install
Curator into a path for just the current user, using the --user flag.

pip install --user elasticsearch-curator

This will result in the curator end-point being installed in the current
user’s home directory, in the .local directory, in the bin subdirectory. The
full path might look something like this:

/home/user/.local/bin/curator

You can make an alias or a symlink to this so you can call it more easily.