PhpStorm 2021.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 Settings

The dialog opens when you click the Add button and choose Drush in the Command Line Tools dialog. Use the dialog 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 later. For more details, see Drupal.

ItemDescription
Path to DrushIn this field, 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 macOS or Linux. If you followed the standard installation procedure, the predefined path will be correct. Click OK to have PhpStorm load command definitions automatically and return to the Command Line Tool Support page.
Last modified: 27 August 2021