In this article, we will explain how to upgrade your Magento 2 version from 2.1.x for 2.1.5 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.1.5 --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
1 | php bin/magento --version |
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!
May 7, 2020 at 2:20 pm
Good blog and right to the point.