Update Magento 2 From 2.0.0 to 2.0.2

In this blog I am going to mention how to update Magento 2.0 from 2.0.0 to 2.0.2 This procedure you can follow for future updates as well.

There are two ways to do this. If you don’t like to work with command line tools, then you can upgrade Magento from System Upgrade in admin.

Login to Magento Admin and Go to

System > Tools > Web Setup Wizard

Here there is an option “System Upgrade”

Select that option and follow through wizard. For more information check following link.

Other way to upgrade is with command lines which I like the most as it’s just matter of typing some commands and your Magento is upgraded.

Go to terminal and go to your Magento root directory and run following commands.

composer require magento/product-community-edition 2.0.2 –no-update
composer update

This will update your Magento. After update do some clean up and indexing with following set of commands.

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

And you have updated Magento 2 version.

This entry was posted in Composer, eCommerce, Magento 2, Magento Admin, Magento Commands on by .

About Hiren Dave

Hiren Dave is a software engineer, blogger and consultant with over 9 years of professional experience. He writes code in number of languages. Hiren has a passion for developing web apps, mobile apps and writing books and blog articles about programming. He has a solid experience of startups as he manages products for few startups. He is also passionate about researching and learning new technologies and trends. He has also authored a book Instant Sencha Touch, published by Packt and creator of Video Course "Beginning Laravel" for Packt

Leave a Reply

Your email address will not be published. Required fields are marked *