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