PhpStorm 2017.1 Help

Command Line Tool Support: Drush

File | Settings | Tools | Command Line Tool Support for Windows and Linux
PhpStorm | Preferences | Tools | Command Line Tool Support for macOS
Ctrl+Alt+S

/help/img/idea/2017.1/settings.png

The dialog box opens when you click the Add button and choose Drush in the Choose Tool to Add dialog box. Use the dialog box to configure Drush support in PhpStorm.

Drush is a command line shell and scripting interface for Drupal. With PhpStorm, you can use Drush 5.8 and higher. For more details, see Drupal and Drupal-Specific Coding Assistance.

ItemDescription
Path to Drush In this text box, specify the path to the Drush executable file. PhpStorm automatically fills in the default location, which is usually C:/ProgramData/Drush/drush.bat on Windows and /usr/bin/drush on Mac OS or Linux. If you followed the standard installation procedure, the predefined path will be correct, just click OK, whereupon PhpStorm loads command definitions automatically and returns to the Command Line Tool Support page.

See Also

Last modified: 19 July 2017