Skip to content

Instantly share code, notes, and snippets.

@iecoding
Forked from ladislavsulc/add-wpcli.sh
Created February 16, 2024 21:29
Show Gist options
  • Save iecoding/42838572cd93b3170b54396f768e32b4 to your computer and use it in GitHub Desktop.
Save iecoding/42838572cd93b3170b54396f768e32b4 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