Install plugins from the command line
Install plugins by plugin ID from the JetBrains Marketplace or a custom plugin repository.
You can find the executable for running PhpStorm in the installation directory under bin. To use this executable as the command-line launcher, add it to your system PATH
as described in Command-line interface.
- Syntax
- phpstorm64.exe installPlugins <plugin-id ...> [repository-url ...]
- Examples
Install the Grazie Lite plugin:
phpstorm64.exe installPlugins tanvd.graziInstall a plugin with the ID
com.example.myplugin
from a custom repositoryhttp://plugins.example.com:8080/updatePlugins.xml
:phpstorm64.exe installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml
By default, PhpStorm does not provide a command-line launcher. For more information about creating a launcher script for PhpStorm, refer to Command-line interface.
- Syntax
- phpstorm installPlugins <plugin-id ...> [repository-url ...]
- Examples
Install the Grazie Lite plugin:
phpstorm installPlugins tanvd.graziInstall a plugin with the ID
com.example.myplugin
from a custom repositoryhttp://plugins.example.com:8080/updatePlugins.xml
:phpstorm installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml
You can find the script for running PhpStorm in the installation directory under bin. To use this script as the command-line launcher, add it to your system PATH
as described in Command-line interface.
- Syntax
- phpstorm.sh installPlugins <plugin-id ...> [repository-url ...]
- Examples
Install the Grazie Lite plugin:
phpstorm.sh installPlugins tanvd.graziInstall a plugin with the ID
com.example.myplugin
from a custom repositoryhttp://plugins.example.com:8080/updatePlugins.xml
:phpstorm.sh installPlugins com.example.myplugin http://plugins.example.com:8080/updatePlugins.xml
The developer of the plugin specifies a unique identifier for the plugin in plugin.xml – the plugin configuration file. If it is a public plugin, you can find its ID on the page of the plugin in JetBrains Marketplace. On the Versions tab, click the relevant version to view the plugin ID and other details.