5

How to upgrade magento 2.2.4 to latest version ie., 2.2.5

10

Please use the command line to execute following commands in Magento installation root directory.

php bin/magento maintenance:enable
composer require magento/product-community-edition 2.2.5 --no-update
composer update

rm -rf <Magento install dir>/var/cache/
rm -rf <Magento install dir>/var/page_cache/
rm -rf <Magento install dir>/var/generation/

bin/magento setup:upgrade
php bin/magento maintenance:disable
service varnish restart

For more details refer magento docs: https://devdocs.magento.com/guides/v2.2/comp-mgr/cli/cli-upgrade.html

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged or ask your own question.