Command Line Tool Support: Drush
The dialog opens when you click and choose Drush in the Command Line Tools dialog. Use the dialog to configure Drush support in IntelliJ IDEA.
Path to Drush
In this field, specify the path to the Drush executable file. IntelliJ IDEA 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 IntelliJ IDEA load command definitions automatically and return to the Command Line Tool Support page.