Install WP-CLI For WordPress Administration
WP-CLI is a software package you install on your web server that provides a command line interface for administering WordPress. You can install WordPress, use it to help migrate WordPress sites between servers, create multi-site installations, update plug-ins and more – all without using a web browser.
ssh -i ~/.ssh/supernifty email@example.com RETURN
Download the WP-CLI software to your server:
curl -O https://raw.githubusercontent.com/wp-cli/builds/gh-pages/phar/wp-cli.phar RETURN
Change the permissions on the wp-cli.phar file to make it executable:
chmod +x wp-cli.phar RETURN
Move it into the system path (where Ubuntu looks for files that are called from the command line – and rename it to simply ‘wp’ to make it easier to type:
sudo mv wp-cli.phar /usr/local/bin/wp RETURN
Test it to confirm it’s working:
sudo wp cli update RETURN
Now it’s time to install WordPress with WP-CLI.