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