How can i install multiple plugins using the WP-CLI

I would like to use the wp-cli to install my plugins. So far I've been doing it one by one but I wonder if is it possible to install a bunch of them all at once.
Looking around I've come across this snippet:
But don't know exactly how to run it.
Any help is appreciated.

Thanks in advance.