How to install app-plugin into a org?

Hi Team, we have grafana instance running across all environments (dev,qa,uat, pre-prod, prod).

We have orgs (devops, dev) configured to provide access control across dashboards / datasources.

We used to provision dashboards under /var/lib/grafana/dashboards/devops and /var/lib/grafana/dashboards/dev which will be accessible only to the members of that particular orgs.

Now we wanted to install a custom app-plugin to dev org, Need help in installing plugin to a org.

We tried installing it using grafala-cli with --pluginsDir option that did installs but getting query options 502 error.

Please help us here. Thanks in advance