To install PPI::Metric::Basic, copy and paste the appropriate command in to your terminal.
cpanm
cpanm PPI::Metric::Basic
CPAN shell
perl -MCPAN -e shell
install PPI::Metric::Basic
For more information on module installation, please visit the detailed CPAN module installation guide.