Skip to content

Instantly share code, notes, and snippets.

@alexandrebaux
Forked from ladislavsulc/add-wpcli.sh
Created January 17, 2024 15:10
Show Gist options
  • Save alexandrebaux/02b5914fd571f78a148de4edd5c15a74 to your computer and use it in GitHub Desktop.
Save alexandrebaux/02b5914fd571f78a148de4edd5c15a74 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