Browsed by
Tag: wp-cli

WordPress Cli

WordPress Cli

WP-Cli is the WordPress command line tool. It can be used for updating WordPress, plugins and translations via the terminal.

$ cd /folder/example/
$ wget https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar
php wp-cli.phar --info
chmod +x wp-cli.phar
sudo mv wp-cli.phar /usr/local/bin/wp
wp --info

Updating Translations

$ cd /wp/folder/
$ wp language core update
$ wp language plugin update -all

Updating Plugins

$ cd /wp/folder/
$ wp plugin update --all