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