Upgrade the Magento application and components
This topic discusses the ways you can:
- Upgrade (that is, patch) the Magento software from version 2.0.0 to 2.0.1, for example
Update components, which can be any of the following:
- Modules (extend Magento capabilities)
- Themes (change the look and feel of your storefront and Admin)
- Language packages (localize the storefront and Admin)
Upgrade the Magento application
The way you upgrade (that is, patch) the Magento application depends on how you installed it:
- Magento Open Source and Magento Commerce: If you used Composer to install the Magento application or if you downloaded an archive, use the System Upgrade utility or the command line.
- Magento Open Source only: If you cloned the Magento 2 GitHub repository because you are contributing code to the Magento Open Source codebase, upgrade the software manually.
If your Magento root directory is
<your Magento install directory/pub, you can upgrade in any of the following ways:
For the upgrade, create another subdomain or docroot that uses the Magento installation directory as its root.
Run the System Upgrade utility as discussed in this topic using that subdomain or docroot.
Upgrade the Magento software using the command line.
- To upgrade from Magento Open Source to Magento Commerce, see Upgrade from CE to EE.
System upgrade refers to updating the Magento 2.x core components and other installed components. To migrate from Magento 1.x to Magento 2, see the Migration Guide.
For upgrade or update, you must use the same authentication keys you used to install the Magento software. For example, you cannot use Magento Open Source authentication keys to update or upgrade Magento Commerce or vice versa. You also cannot use:
- Another user’s authentication keys
- Shared account authentication keys
To update Magento components, use the Component Manager.
Complete the tasks discussed in Prerequisites.