IntelliJ IDEA 2017.2 Help

Managing Enterprise Plugin Repositories

To be able to use plugin repositories other than the JetBrains Plugin Repository (e.g., your enterprise plugin repositories), you should specify their URLs in IntelliJ IDEA.

Adding repositories

  1. In the left-hand pane of the Settings / Preferences dialog (Ctrl+Alt+S), click Plugins.
  2. Click Browse repositories.
  3. In the Browse Repositories dialog, click Manage repositories.
  4. In the Custom Plugin Repositories dialog, click new and specify the repository URL. Click Check Now to make sure that the URL is correct.

Alternatively, you can add the repositories by editing the IntelliJ IDEA custom .properties, or custom .vmoptions file:

  1. Open the file for editing: Help | Edit Custom Properties or Help | Edit Custom VM Options.
  2. Depending on the file, add the following line:
    • idea.plugin.hosts=<URL1>;<URL2>;...<URLn> for the .properies file.
    • -Didea.plugin.hosts=<URL1>;<URL2>;...<URLn> for the .vmoptions file.

Replacing JetBrains repositories with your own ones

If you want to access your corporate plugin repositories instead of the JetBrains repositories from the IntelliJ IDEA UI:

  1. Open the IntelliJ IDEA custom .properties, or custom .vmoptions file for editing: Help | Edit Custom Properties or Help | Edit Custom VM Options.
  2. Depending on the file, add the following line:
    • idea.plugins.host=<yourRepositoryURL> for the .properies file.
    • -Didea.plugins.host=<yourRepositoryURL> for the .vmoptions file.
  3. Make sure that there is no option that points to http://plugins.jetbrains.com or https://plugins.jetbrains.com.
  4. Restart IntelliJ IDEA.

As a result, the specified repository becomes your main plugin repository. You can now add repositories as described in Adding repositories.

Last modified: 29 November 2017

See Also