Added on Jun 19th, 2012 and marked as cli wordpress

wp-cli is a set of tools for controlling WordPress installations from the command line. It should work fine for WP versions >= 3.3.


To install wp-cli follow the instructions from the project’s readme:

git clone --recursive git:// ~/git/wp-cli
cd ~/git/wp-cli


The command wp must be executed in a directory that contains a WordPress installation. Otherwise you will see this error:

Error: This does not seem to be a WordPress install. Pass --path=`path/to/wordpress` or run `wp core download`.

Get a list of available commands:

wp help

To upgrade the core WordPress installation:

wp core update

or any of the plugins:

wp plugin update <plugin>
wp plugin update --all

Background information