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/
wpindicate aliascreated during the installation in step 5, or the path to the installed file
name_accountsubstitute hosting account namein which the actions are performed.
example.com/wwwspecify the path to the files of the required site.
skip-contentindicates skipping downloading of standard themes and plugins. If you also need to install them, remove it from the command.
Success: WordPress downloaded.