PhpStorm 2016.2 Help

Using Command Line Tools

In this section:

Introduction

You can run command line commands right from PhpStorm. Just configure the commands that fit your preferences and needs as a command line tool and register it in PhpStorm. You can have as many command line tools as you need.

Integration with command line tools is provided at the PhpStorm level, so once configured, a tool can be used in all your PhpStorm projects. Just activate or de-activate it when necessary depending on the needs of each specific project.

Integration with command line tools is supported via the Command Line Tool Support plugin. The plugin is bundled with PhpStorm and activated by default. If the plugin is not activated, enable it on the Plugins page of the Settings / Preferences Dialog as described in Enabling and Disabling Plugins.

The available tools are listed in the Command Line Tool Support page of the Settings/Preferences dialog.

Note that PHP-specific command line tools work only with local PHP interpreters, see Configuring Local PHP Interpreters and Enabling PHP Support.

Prerequisite

Before you start working with Command Line tools, make sure that the Command Line Tool support plugin is enabled. The plugin is bundled with PhpStorm and is activated by default. If it is not, enable the plugin as described in Enabling and Disabling Plugins.

See Also

Last modified: 20 July 2016