Installation quick guide

With a fresh Perl installation (recommended for all platforms)

Why a fresh Perl installation is a good idea: Having your own Perl interpreter in addition to the one provided by your system is generally a good idea because upgrading your system does not affect your development/production Perl installation and libraries. Plus, you will get the latest and greatest Perl version to work with.

1. Install Perl

This guide shows you how to install the latest stable Perl version for different platforms alongside invaluable tools like local::lib (which allows the installation of CPAN modules like Catalyst without the need for root privileges) and the excellent cpanm installer.

2. Install Catalyst

Run the following command to install Catalyst using cpanm:

cpanm Catalyst::Devel

With an already installed Perl

If you haven't installed cpanm and local::lib yet, run the following command as an unprivileged (i.e. non-root) user to get everything up and running:

curl -L cpanmin.us | perl - -l $HOME/perl5 App::cpanminus local::lib Catalyst::Devel

This installs cpanm, local::lib and of course Catalyst into your home directory.

If you already have cpanm installed, it's just a matter of:

cpanm Catalyst::Devel

Start coding

Head on over to the tutorial to get started.

Detailed installation instructions

You can find more in-depth information about possible ways to install Catalyst on various platforms in the Installing Catalyst guide.

If you have any questions regarding the installation do not hesitate to swing by our IRC channel or send a mail to the Catalyst mailing list.

My tags:
 
Popular tags:
 
Powered by Catalyst
Powered by MojoMojo Hosted by Shadowcat - Managed by Nordaaker