a fast CPAN module installer




a fast CPAN module installer


There are 2 ways.

1) From CPAN

$ cpanm -nq App::cpm

2) self-contained version

You can also use a self-contained cpm:

$ curl -fsSL --compressed https://git.io/cpm > cpm
$ chmod +x 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.


If you all find cpm useful, then cpm should be merged into cpanm 2.0. How exciting!

To merge cpm into cpanm, there are several TODOs:

  • DONE Win32? - support platforms that do not have fork(2) system call
  • DONE Logging? - the parallel feature makes log really messy

Your feedback is highly appreciated.


Copyright 2015 Shoichi Kaji skaji@cpan.org

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

See Also