When using wp plugin install <URL>, WP-CLI currently assumes that the URL is pointing to a ZIP file of a plugin.
This command should also work with a URL to a single PHP plugin file, so that it can for example directly install plugins from GitHub Gists:
Example of such a command that should just work:
wp plugin install --activate https://gist.githubusercontent.com/westonruter/dec7d190060732e29a09751ab99cc549/raw/d55866c2fc82ab16f8909ce73fc89986ab28d727/pwa-manifest-short-name.php
/cc @westonruter (whose numerous Gist plugins make me want to implement the above)