wp shell command returns error
-
I installed wp-cli using
composer global require wp-cli/wp-cli-bundle
The wp command works fine. But I can't use
wp shell
. It returns the following error:
Error: The shell binary 'C:/laragon/bin/git/laragon/bin/git/bin/bash.exe' is not valid. You can override the shell to be used through the WP_CLI_CUSTOM_SHELL environment variable.
Any workaround to this error? I was using the terminal provided from laragon.
-
@hoppingninja666 : How abou this?
https://forum.laragon.org/topic/1039/tutorial-how-to-add-wp-cli-to-laragon
-
@leokhoa That too returns same error whilst shell command. Resorted to using wp-cli found in this repo https://github.com/lipemat/wp-cli-bundle