a fast CPAN module installer
There are 2 ways.
$ curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm > cpm
$ chmod +x cpm
$ ./cpm --version
$ curl -fsSL https://raw.githubusercontent.com/skaji/cpm/main/cpm | perl - install -g App::cpm
$ cpm --version
cpm is a fast CPAN module installer, which uses Menlo (cpanm 2.0) in parallel.
Moreover cpm keeps the each builds of distributions in your home directory.
Then, cpm install
will use these prebuilt distributions.
That is, if prebuilts are available, cpm never build distributions again, just copy the prebuilts into an appropriate directory.
This is (of course!) inspired by Carmel.
See skaji#181
Copyright 2015 Shoichi Kaji [email protected]
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
- You may want to check install-with-cpm when you use cpm with GitHub Actions.
- Perl Advent Calendar 2015
- App::cpanminus
- Menlo
- Carton