Skip to content

Instantly share code, notes, and snippets.

@vitorbritto
Created January 24, 2015 17:44
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save vitorbritto/ec679deaf41eae5fad93 to your computer and use it in GitHub Desktop.
Install WordPress CLI

Install WordPress CLI

# Installing WordPress CLI

curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
mv wp-cli.phar /usr/local/bin/wp

# Installing WordPress Bash Completions

curl -O https://raw.githubusercontent.com/wp-cli/wp-cli/master/utils/wp-completion.bash
chmod +x wp-completion.bash
mv wp-completion.bash /usr/local/etc/bash_completion.d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment