In this article, You will learn how to upgrade your Magento 2 version from 2.x.x for 2.x.x using Command-Line Interface (CLI). Then upgrade your Magento 2 by following these steps:
1) Access Your Server via SSH
2) Navigate to the Magento 2 Root Directory
3) Upgrade Commands
1 2 3 4 5 6 7 8 9 | composer require magento/product-community-edition 2.x.x --no-update composer update rm -rf var/di var/generation php bin/magento cache:clean php bin/magento cache:flush php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento indexer:reindex php bin/magento setup:static-content:deploy |
4) Check your Magento version using below command
1 | php bin/magento --version |
Now please make sure your Magento 2 version upgraded successfully by loading frontend and backend panel. Enjoy Latest version of Magento 2 and its features.
Write an article about ecommerce that help people to grow their ecommerce business. You’ll find best ecommerce guide, news, tips & more!
June 29, 2018 at 7:32 pm
One can upgrade magento 2 using the two basic methods, one is from admin panel and other is using composer.