cpanm
or App::cpanminus cpanminus for short is a magnificent Perl tool for installing CPAN distributions (or your own distributions).
$ cpan App::cpanminus
If you want to keep a clean install, consider using local::lib
If you are using perlbrew you get cpanminus installed with perlbrew
.
The author of App::cpanminus, Miyagawa, also made an introduction video.
See also the Perl GitHub Action with cpanm
for all your GitHub Action needs.
If you want to work with cpanminus, in for example Ubuntu, it is also available as a package:
- cpanm package for Ubuntu (focal fossa)