This is a list of the WP CLI commands. As I test it out, I am updating the lists here.
The wp core
command helps to download, install, update, and manage WordPress installation.
wp option delete core_updater.lock
wp core update --version= --force
For example : wp core update --version=6.1.1 --force
, this will update to the WP 6.1.1
wp core version
wp core check-update
wp core update-db
The wp theme
helps in managing themes, including installs, activations, and updates.
wp theme update twentynineteen twentytwenty twentytwentyone twentytwentytwo twentytwentythree
wp theme delete twentysixteen twentyseventeen
wp theme update --all
wp theme install twentytwentyone
The wp theme search
searches the WordPress.org theme directory.
wp theme search photo --per-page=6
The wp theme get
Gets details about a theme.
wp theme get twentytwentythree --fields=name,title,version