PHP Command Line Tool Support: WP-CLI
File | Settings | Tools | PHP Command Line Tool Support for Windows and Linux
PhpStorm | Settings | Tools | PHP Command Line Tool Support for macOS
The dialog opens when you click and choose WP-CLI in the PHP Command Line Tool Support dialog. Use the dialog to configure WP-CLI support in PhpStorm.
In this dialog, enable the use of WordPress Content Management System in the command line mode by specifying the way to launch WordPress.
Item | Description |
---|---|
Installed via PHAR | Choose this option to launch WordPress through a PHP script or have PhpStorm detect and start the launcher in the wp-cli.phar archive.
|
Executable available (installed via Composer, etc.) | Choose this option to launch WordPress through an executable file, which is available when you install WordPress using a package management tool, for example, Composer. |
Path to wp | In this field, specify the location of the wp.bat or wp executable file. If you used Composer, the default location is |
Thanks for your feedback!