cpanm - Manages Perl library dependencies.

Author:Franck Cuny

Synopsis

New in version 1.6.

Manage Perl library dependencies.

Options

parameter required default choices comments
from_path no
    The local directory from where to install
    locallib no
      Specify the install base to install modules
      mirror no
        Specifies the base URL for the CPAN mirror to use
        name no
          The name of the Perl library to install
          notest no
            Do not run unit tests

            Examples

            Install Dancer perl package.

            cpanm: name=Dancer
            

            Install Dancer (http://perldancer.org/) into the specified locallib

            cpanm: name=Dancer locallib=/srv/webapps/my_app/extlib
            

            Install perl dependencies from local directory.

            cpanm: from_path=/srv/webapps/my_app/src/
            

            Install Dancer perl package without running the unit tests in indicated locallib.

            cpanm: name=Dancer notest=True locallib=/srv/webapps/my_app/extlib
            

            Install Dancer perl package from a specific mirror

            cpanm: name=Dancer mirror=http://cpan.cpantesters.org/
            


            Note

            Please note that http://search.cpan.org/dist/App-cpanminus/bin/cpanm, cpanm must be installed on the remote host.

            Table Of Contents

            Previous topic

            composer - Dependency Manager for PHP

            Next topic

            easy_install - Installs Python libraries