PhpStorm 2024.1 Help

PHP Command Line Tool Support: Drush

The dialog opens when you click the Add button and choose Drush in the PHP Command Line Tool Support dialog.

Drush is a command line shell and scripting interface for Drupal. With PhpStorm, you can use Drush 5.8 and later. For more information, refer to Drupal.

Item

Description

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 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 PHP Command Line Tool Support page.

Last modified: 17 June 2024