Skip to content

Instantly share code, notes, and snippets.

@nateluzod
Created April 27, 2016 18:57
Show Gist options
  • Save nateluzod/e37164106905c4db442b14cd1b469fe7 to your computer and use it in GitHub Desktop.
Save nateluzod/e37164106905c4db442b14cd1b469fe7 to your computer and use it in GitHub Desktop.
Get WP-CLI to use MAMP
PHP_VERSION=`ls /Applications/MAMP/bin/php/ | sort -n | tail -1`
export PATH=/Applications/MAMP/bin/php/${PHP_VERSION}/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment