This post describes how to update Magento 2 to the latest available version.
In case you didn’t do this, dismiss the prerequisite section. Be log in to your Magento server as a file system owner. Change to the directory with the installed Magento software (e.g.
Create another docroot or subdomain that utilizes the Magento installation directory as the root.
This article explains how to upgrade to the latest Magento 2 version. export VERSION="2.0.2" cd ~/magento2 composer require magento/product-community-edition $VERSION --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 setup:static-content:deploy php bin/magento indexer:reindex Magento is no easy open source CMS.
If you haven’t added the keypair while installing Magento 2, add them to your Magento via ‘System Config’ (next to System Upgrade).
Whatever version you’re updating, we always recommend you to follow these steps first: Make sure you have a Magento account before you update your Magento 2 shop and have created a keypair in your account.