To update WordPress through the site admin panel, do the following:
To update WordPress using WP-CLI, do the following:
wp core download --skip-content --force --path=/home/name_account/example.com/www/
wp
indicate aliascreated during the installation in step 5, or the path to the installed file wp-cli.phar
.name_account
substitute hosting account namein which the actions are performed.example.com/www
specify the path to the files of the required site. skip-content
indicates skipping downloading of standard themes and plugins. If you also need to install them, remove it from the command.Success: WordPress downloaded.