DEV Community

Ko Takagi
Ko Takagi

Posted on

How to update WordPress with WP-CLI

When updating WordPress it is convenient to use WP-CLI.

How to use

Display the installed version

wp core version

# Show extended version information
wp core version --extra

Update to the latest version

wp core update

Update in your preffered language

wp core update --locale=ja

Update to a specific version

wp core update --version=5.3

Downgrade to an old version

wp core update --version=5.2 --force

Top comments (0)