layout | group | subgroup | title | menu_title | menu_order | menu_node | version | github_link |
---|---|---|---|---|---|---|---|---|
default |
install_cli |
99_contrib |
Reinstall the Magento software |
Reinstall the Magento software |
200 |
2.0 |
install-gde/install/cli/dev_reinstall.md |
A contributing developer reinstalls Magento by updating composer.json
to specify the Magento product version and component versions desired and runs composer update
.
To reinstall the Magento software as a contributing developer:
-
Log in to your Magento server as a user with permissions to modify files in the Magento file system (for example, the >switch to the Magento file system owner.
-
Make a backup copy of
composer.json
in your Magento installation directory:cd <your Magento install dir> cp composer.json composer.json.bak
-
Open
composer.json
in a text editor. -
Locate the following line:
"require": { "magento/product-community-edition": "<version>" },
-
Replace
<version>
with the version to which you want to upgrade, where<version>
is the product version to use.(The product version is in the format
2.0.x
)
-
Save your changes to
composer.json
and exit the text editor. -
Enter the following command:
composer update
Wait for dependencies to update.
*[contributing developer]: A developer who contributes code to the Magento 2 CE codebase *[contributing developers]: Developers who contribute code to the Magento 2 CE codebase