Grafana-cli plugin installation using http proxy

Trying to install grafana plugin using grafana-cli from a vm that has no direct internet access.
Getting:

/usr/sbin/grafana-cli plugins install vertica-grafana-datasource --verbose
Error: ✗ Failed to send request: Get “https://grafana.com/api/plugins/repo/vertica-grafana-datasource”: dial tcp 35.241.23.245:443: i/o timeout (Client.Timeout exceeded while awaiting headers)

At the same time list-remote option is working.

grafana-cli plugins list-remote | grep vertica
id: vertica-grafana-datasource version: 0.1.0

Proxy config:

cat /etc/profile.d/proxy.sh
export http_proxy=‘http://proxy:3128

Hi , I hoped you have figured out.
If not you can manually download the plugin zip and install it.

grafana-cli --pluginsDir “$GF_PATHS_PLUGINS” --pluginUrl plugins install

or you can just unzip the plugin file to plugin directory and restart grafana.