DEV Community

Yuki Kimoto
Yuki Kimoto

Posted on

4 1

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)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay