wp-cli online installer

Do you want a one liner to install, chmod and move the wp-cli when you install a new site? Here it is!

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

Just to avoid to copy and paste three or more times to get this working every time. Tripple click this and copy and all will be done for you.

Hope this is helping you. I will use it 🙂

See details at the wp-cli site.