//installation of wordpress client curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar //check if it works php wp-cli.phar --info //setting permissions and scope (UNIX environment) chmod +x wp-cli.phar sudo mv wp-cli.phar /usr/local/bin/wp // how to use on Windows php wp-cli.phar [option] // how to use on Unix wp [option] /** * useful commands */ // update the permalink structure wp rewrite structure /%postname%/ // add a user wp user create user@email.nl user@email.nl --role=administrator --user_pass=password // install update activate or deactivate plugin wp plugin install wordpress-seo wp plugin update wordpress-seo wp plugin activate wordpress-seo wp plugin deactivate wordpress-seo //search and replace strings wp search-replace "www.website.nl" "website.local" // useful links http://wp-cli.org/ https://github.com/wp-cli/wp-cli/wiki/Alternative-Install-Methods