Simplify WordPress updates using these sequential WP CLI commands

Updating WordPress can really start to grind on me. Everyone is constantly releasing updates for their plugins and the core team are pushing to release more and more core updates all the time.

Seeing the update notification can be a real bummer.

So, to keep it easy, I just bang through all updates using a few WP CLI commands strung together into this nice one-liner;

This will go through and update all themes, plugins, and the WordPress core along with language updates for each. Yay!

I don’t actually use the whole command myself because typing that out each time would suck. Instead, I’ve set up an alias in my ~/.bashrc file to keep it easy. It looks like this;

With the alias in place, all I need to do is enter wp-update-all and hit the return key…then wait, of course.

One last thing…

If you liked this article, I'd be incredibly grateful if you tweeted about it.

Also, I don't send emails often but when I do, I try to fill them full of useful goodies. If you like code snippets & dev tips, join my mailing list. There's no catch but I'll probably want to tell you about any new plugins & tools I build.