App::cpm - a fast CPAN module installer
> cpm install Module
THIS IS EXPERIMENTAL.
cpm is a fast CPAN module installer, which uses Menlo in parallel. For tutorial, check out App::cpm::Tutorial.
Why do we need a new CPAN client?
I used cpanm a lot, and it's totally awesome.
But if your Perl project has hundreds of CPAN module dependencies, then it takes quite a lot of time to install them.
So my motivation is simple: I want to install CPAN modules as fast as possible.
Just an example:
> time cpanm -nq -Lextlib Plack real 0m47.705s > time cpm install Plack real 0m16.629s
This shows cpm is 3x faster than cpanm.
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
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.
Perl Advent Calendar 2015
App::cpanminus
Menlo
Carton
To install App::cpm, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::cpm
CPAN shell
perl -MCPAN -e shell install App::cpm
For more information on module installation, please visit the detailed CPAN module installation guide.