Installs The Events Calendar and Event Calendar Pro and activates license.
wp plugin install the-events-calendar --force --activate
wp option update pue_install_key_events_calendar_pro "<replace-with-pro-license-key>"
wp plugin install "https://pue.theeventscalendar.com/api/plugins/v2/download?plugin=events-calendar-pro&key=<replace-with-pro-license-key>" --force --activate
Make sure you replace <replace-with-pro-license-key>
with a valid Event Calendar Pro license key.