Install plugin from private repository

No, there is no need to configure something extra.

There are just a three mandatory things:

  • Plugin’s name must begin with strapi-plugin-, example: strapi-plugin-test
  • It should be added to package.json
  • plugin’s package.json should contain the same name as your plugin, example
    "name": "strapi-plugin-test",

I just added it to package.json and used yarn install and it works.

"dependencies": {
    //...
    "strapi-plugin-test": "git+https://<token-name>:<token>@gitlab.com/Username/Repository#{branch|tag}",
    //...
}

image