Command Line Tool Support: Drush
The dialog opens when you click the Add button and choose Drush in the Choose Tool to Add dialog. Use the dialog to configure Drush support in PhpStorm.
Path to Drush
In 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 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.