You can use wp-cli to upgrade or downgrade to particular versions or releases of WordPress.

Update to latest version of WordPress

wp core update

Update to specific version of WordPress

wp core update --version=5.5.3

Install or downgrade WordPress version

wp core update --version=5.5.3 --force

Switch to a locale version (Australia used below)

wp core update --locale=au

See the installed version of current WordPress

wp core version

or with more info:

wp core version --extra

Leave a Comment