Created
October 27, 2020 17:29
Add WP CLI to Laragon
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd C:\laragon\usr\bin && curl -L -O https://raw.github.com/wp-cli/builds/gh-pages/phar/wp-cli.phar && echo @ECHO OFF > wp.bat && echo php "%~dp0wp-cli.phar" %* >> wp.bat |
Happy to help ;)
πππ
For those who may find this helpful, Windows doesn't like single quotes, must use double quotes.
wp search-replace "somewebsite.com" "new_website.com"
If using single quotes, this would return 0 rows effected.
Thank you so much :)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks, It works.