Before you begin
Note: It is recommended to remove all existing module files before upgrading to avoid older files to remain after the new file copy.
About this task
To upgrade Magento 2, replace all the module files by those contained in the downloaded ZIP archive.
Run the following command to upgrade the module version number:
php magento setup:upgrade
Run the following command:
php magento setup:di:compile
Run this command to deploy again the static content:
php magento setup:static-content:deployAttention: When deploying in a multisite environment, make sure to deploy on all languages. To do so, it may be necessary to add all languages to deploy in the command.Example:
php magento setup:static-content:deploy fr_FR nl_NL
Magento 2 is now updated.