Using WP-CLI

I practically rolled my eyes when I was notified that there was a new update to WordPress available. It has always been a bit of pain ssh’ing into the server, using wget to retrieve the latest release, and blindly overwriting the installation. Sure it’s not the most demanding thing I’ve done today but considering how low-trafficked this blog is it’s still annoying. Wanting to still keep up with security patches I discovered a tool called wp-cli that helps automate a lot of things.

$ wp core update
Updating to version 4.7.4 (en_US)...
Downloading update from
Unpacking the update...
Success: WordPress updated successfully.

I’m a very happy individual.

Leave a Reply

Your email address will not be published. Required fields are marked *