# Install plugins from the command line

> For the complete documentation index, see [llms.txt](https://www.jetbrains.com/help/ruby/2026.3/llms.txt).

Install plugins by plugin ID from the [JetBrains Marketplace](https://plugins.jetbrains.com/) or a [custom plugin repository](managing-plugins.html#repos).

> **Note: Quit RubyMine before running this command!**
> Installing plugins means putting them in the [plugins directory](directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#plugins-directory). If you run this command on a fresh RubyMine installation, the IDE will not suggest importing the settings from the previous installation when you launch it for the first time, because the settings will no longer be empty.

Windows:

You can find the executable for running RubyMine in the [installation directory](directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html) under `bin`. To use this executable as the command-line launcher, add it to your system `PATH` as described in [Command-line interface](working-with-the-ide-features-from-command-line.html).

Syntax
: ```PLAINTEXT
: rubymine64.exe installPlugins <plugin-id ...> [repository-url ...]
: ```

Examples
: Install the  [Dart plugin](https://plugins.jetbrains.com/plugin/6351-dart):
:
:
:
:
:
:
: ```SHELL
: rubymine64.exe installPlugins Dart
: ```
:
:
:
:
:
: Install a plugin with the ID `com.example.myplugin` from a custom repository `http://plugins.example.com:8080/updatePlugins.xml`:
:
:
:
:
:
:
: ```SHELL
: rubymine64.exe installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml
: ```

macOS:

By default, RubyMine does not provide a command-line launcher. For more information about creating a launcher script for RubyMine, refer to [Command-line interface](working-with-the-ide-features-from-command-line.html).

Syntax
: ```PLAINTEXT
: rubymine installPlugins <plugin-id ...> [repository-url ...]
: ```

Examples
: Install the  [Dart plugin](https://plugins.jetbrains.com/plugin/6351-dart):
:
:
:
:
:
:
: ```SHELL
: rubymine installPlugins Dart
: ```
:
:
:
:
:
: Install a plugin with the ID `com.example.myplugin` from a custom repository `http://plugins.example.com:8080/updatePlugins.xml`:
:
:
:
:
:
:
: ```SHELL
: rubymine installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml
: ```

Linux:

You can find the script for running RubyMine in the [installation directory](directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html) under `bin`. To use this script as the command-line launcher, add it to your system `PATH` as described in [Command-line interface](working-with-the-ide-features-from-command-line.html).

Syntax
: ```PLAINTEXT
: rubymine.sh installPlugins <plugin-id ...> [repository-url ...]
: ```

Examples
: Install the  [Dart](https://plugins.jetbrains.com/plugin/6351-dart)  plugin:
:
:
:
:
: ```SHELL
: rubymine.sh installPlugins Dart
: ```
:
:
:
:
:
: Install a plugin with the ID `com.example.myplugin` from a custom repository `http://plugins.example.com:8080/updatePlugins.xml`:
:
:
:
:
:
:
: ```SHELL
: rubymine.sh installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml
: ```

If the plugin is distributed as a JAR archive, copy the JAR file to the [plugins directory](directories-used-by-the-ide-to-store-settings-caches-plugins-and-logs.html#plugins-directory) and restart the IDE:

Windows:

```GENERIC
copy plugin.jar %APPDATA%\JetBrains\Roaming\<Product><Version>\plugins\
```

macOS:

```GENERIC
cp plugin.jar ~/Library/Application Support/JetBrains/<Product><Version>/plugins/
```

Linux:

```GENERIC
cp plugin.jar ~/.local/share/JetBrains/<Product><Version>/plugins/
```

The developer of the plugin specifies a unique identifier for the plugin in `plugin.xml` – the [plugin configuration file](https://plugins.jetbrains.com/docs/intellij/plugin-configuration-file.html#idea-plugin__id). If it is a public plugin, you can find its ID on the page of the plugin in JetBrains Marketplace. Scroll down to the Additional Information section and copy the value from the Plugin ID parameter.

![Plugin ID](https://resources.jetbrains.com/help/img/idea/2026.3/pluginID.png)

