boboman13 edited this page Aug 22, 2014 · 12 revisions

Installation of Mojolicious

Using cpanm

This is what helped me to get started with mojo, perhaps it helps you, too. ;-) First of all, you need to install Mojolicious (which also installs Mojo)

$ sudo -s 'curl -L | perl - Mojolicious'

You can also install specified version of Mojolicious

$ sudo -s 'curl -L | perl - Mojolicious@3.87'

CPAN client

If you want to install Mojolicious from the shell you can run the command

$ cpan Mojolicious

and the Mojolicious framework will be installed.


RPM for RHEL/CentOS 6

If you are running Mojolicious on a Red Hat/CentOS based server you might want to look for RPM packages. The pkgbox repository provides RPM packages for RHEL based installations. Please note - only RHEL 6 will be supported as RHEL 5 is lacking a decent version of Perl. Make sure to install the RPM packages perl-Digest-SHA and perl-Time-HiRes as they are not included inside the Perl package in RedHat 6.

PPM repositories for Windows

If you are using Windows as a development platform you can still use Mojolicious with ease. The steps to install Mojolicious on the Windows platfrom differ from the previous steps.


Cygwin is nearly complete emulation of Unix on Windows. You can pick one of the methods earlier to install Mojolicious.

ActiveState Perl

People with ActiveState Perl can open the Perl Package Manager application and can search for Mojolicious inside the search filed. ActiveState Perl always has a current version, sometimes they are a little behind. Just install it from the package manager.

You can also use the Windows cmd interpreter to install Mojolicious from the command line. Just run the following command to install Mojolicious.

c:\> ppm install Mojolicious

Strawberry Perl

If you are using Strawberry Perl you can either use the Perl Package Manager from the command line to install Mojolicious or you can use the CPAN method which is described earlier.