Skip to content

Instantly share code, notes, and snippets.

@stingray82
Forked from ladislavsulc/add-wpcli.sh
Created August 9, 2022 19:51
Show Gist options
  • Select an option

  • Save stingray82/5e27c58893965aab529a462657471c52 to your computer and use it in GitHub Desktop.

Select an option

Save stingray82/5e27c58893965aab529a462657471c52 to your computer and use it in GitHub Desktop.
Add WP CLI to Laragon
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment