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