search ]

Upgrade and Downgrade WordPress with WP-CLI

WP-CLI is a set of tools that provides functionality for managing WordPress sites. In this guide we describe the benefits of using WP-CLI and demonstrate several advanced commands that will make your life easier in a WordPress development environment. You can use wp-cli to upgrade or downgrade WordPress to a specific version.

Update to the latest WordPress version:

wp core update

Update to a specific WordPress version:

wp core update --version=5.5.3

Install or downgrade to a specific WordPress version:

wp core update --version=5.5.3 --force

Check the installed WordPress version:

wp core version

Or with extra info:

wp core version --extra
Join the Discussion
0 Comments  ]

Leave a Comment

To add code, use the buttons below. For instance, click the PHP button to insert PHP code within the shortcode. If you notice any typos, please let us know!

Savvy WordPress Development official logo