DEV Community

Yuki Kimoto - SPVM Author
Yuki Kimoto - SPVM Author

Posted on

How to install cpanm using HTTP::Tiny and Perl oneliner?

How to install cpanm using HTTP::Tiny and Perl oneliner?

perl -MHTTP::Tiny -e 'print HTTP::Tiny->new->get("http://cpanmin.us/")->{content};' > cpanm
Enter fullscreen mode Exit fullscreen mode

Use cpanm in the portable way.

perl cpanm -h
Enter fullscreen mode Exit fullscreen mode

Top comments (0)