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