cpanm

script to get, unpack, build and install modules from CPAN

Install

All systems
curl cmd.cat/cpanm.sh
Debian Debian
apt-get install cpanminus
Ubuntu
apt-get install cpanminus
Arch Arch Linux
pacman -S cpanminus
image/svg+xml Kali Linux
apt-get install cpanminus
CentOS
yum install cpanminus
Fedora
dnf install cpanminus
Windows (WSL2)
sudo apt-get update sudo apt-get install cpanminus
OS X
brew install cpanminus
Raspbian
apt-get install cpanminus

cpanminus

script to get, unpack, build and install modules from CPAN

cpanminus provides a command-line (non interactive) interface to automatically download, build and install Perl modules from CPAN. It requires zero configuration, and stands alone. It also has a very low memory footprint compared to similar software: when running, it requires only 10MB of RAM. It installs to wherever ExtUtils::MakeMaker and Module::Build are configured to. So if you're using local::lib, then it installs to your local perl5 directory. Otherwise it installs to the siteperl directory. cpanminus at a boot time checks whether you have configured local::lib, or have the permission to install modules to the sitelib directory. If neither, it automatically sets up local::lib compatible installation path in a perl5 directory under your home directory.

perl-App-cpanminus

modules