(R)?ex the friendly automation framework



The Rex-1.13.4 release is now available on CPAN. It contains documentation updates, and a fix for inconsistent behavior between the content and source options of the file command.


The Rex-1.13.3 release is now available on CPAN. It contains documentation updates, and a fix for debconf parsing. Behind the scenes, CI was migrated over to GitHub Actions as well.


The Rex-1.13.2 release is now available on CPAN. It contains only documentation updates, mostly for the built-in template capabilities, but also fixes a few typos.


Happy 10th birthday, Rex!

The Rex-1.13.1 release is now available on CPAN. It is focusing on CMDB bugfixes and documentation, while also fixing a missing feature flag. Upgrade is recommended for all users.


The Rex-1.13.0 release is now available on CPAN. It adds on_no_change hooks for file management commands to trigger further actions when files are left unchanged. Upgrade is recommended for all users.


Learning automation using Rex

Ferenc Erki (FErki) will be the guest of Gábor Szabó on the next Code Maven live stream to learn about automation using Rex. Register for the free event via Code Maven or Meetup, and join the discussion!

Unexpected use cases with Rex

Unexpected use cases with Rex at the 22nd German Perl/Raku Workshop 2020 in Erlangen by Ferenc Erki (FErki).

Rex & Friends

Rex & Friends talk at the Barcelona Perl & Friends 2019 by Ferenc Erki (FErki).

» Home » Get Rex

Get Rex


The recommended way to get Rex is to install it from CPAN into your user account's own Perl environment (managed by e.g. local::lib, Perlbrew or similar). You can simply use your preferred client, for example:

$ cpanm Rex

While it's possible to install Rex system-wide from CPAN, for that use case you might be interested in checking out packages for your operating system.

Package managers

Official packages

Rex is distributed via package managers for many different operating systems. The Repology page of Rex is an up-to-date list of available Rex packages.

We encourage you to help those package management projects to distribute Rex. We are happy to support the process, so feel free to get us involved too.

Community packages

If you maintain a repository or an overlay which includes Rex for your distribution, and you would like to get it listed here, just let us know.

Installing from source

You can clone our GitHub repository to install Rex from source. Development is done in the master branch, and we also tag each release there. Installing from source requires Dist::Zilla:

$ git clone https://github.com/RexOps/Rex.git
$ cd Rex
$ cpanm Dist::Zilla
$ dzil authordeps | cpanm
$ dzil listdeps | cpanm
$ dzil install

Some of the optional dependencies might not be available on all platforms, but to install them as well, use this command:

dzil listdeps --suggests | cpanm

Proudly powered by Statocles

GitHub / Matrix / IRC / Twitter / Google Groups / StackShare / Mailing list / Server Fault   -.ô.-   Disclaimer