Command Line Tool Support: WP-CLI
for Windows and Linux
for macOS
The dialog box opens when you click the Add button and choose Composer in the Choose Tool to Add dialog box.
In this dialog box, 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 IntelliJ IDEA detect and start the launcher in the wp-cli.phar archive. |
Path to PHP executable | In this field, specify the location of the PHP engine installation folder. Choose the PHP installation from the list, or type the path manually, or click the Browse button and choose the desired location in the dialog box that opens. |
Path to phar | In this text box, specify the location of the wp-cli.phar archive. Type the path manually or click the Browse button and choose the desired location in the dialog box that opens. |
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.bat | In this field, specify the location of the wp.bat or wp executable file. If you used Composer, the default location is \vendor\wp\cli\bin\wp or \vendor\wp\cli\bin\wp.bat . Type the path manually or click the Browse button and choose the desired location in the dialog box that opens. |
Last modified: 18 July 2017