Skip to content

Instantly share code, notes, and snippets.

@turtlepod
Forked from ladislavsulc/add-wpcli.sh
Created December 30, 2021 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save turtlepod/c177fe102f26c0c882ad89d3125b73fc to your computer and use it in GitHub Desktop.
Save turtlepod/c177fe102f26c0c882ad89d3125b73fc 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