You can install the latest stable release of the Perl Client by using the following command:

cpanm Search::Elasticsearch

To install a specific version, download the specific version artifact. For example, to download elasticsearch-perl 6.81, use the following command:

cpanm EZIMUEL/Search-Elasticsearch-6.81.tar.gz


Language clients are forward compatible; meaning that clients support communicating with greater or equal minor versions of Elasticsearch. Elasticsearch language clients are only backwards compatible with default distributions and without guarantees made.