WP-CLI – How to install a plugin from a remote server

wp plugin install https://example.tld/path-to-zip-file/file.zip

This fails because example.com port 443 was blocked or example.com may be have no SSL certificate.

If you try now, you will get


Warning: Download failed. "Not Found"
Error: No plugins installed.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)