<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Upgrade_Magento2_via_CLI</id>
		<title>Upgrade Magento2 via CLI - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://briansnelson.com/index.php?action=history&amp;feed=atom&amp;title=Upgrade_Magento2_via_CLI"/>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Upgrade_Magento2_via_CLI&amp;action=history"/>
		<updated>2026-06-04T06:19:59Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.24.1</generator>

	<entry>
		<id>https://briansnelson.com/index.php?title=Upgrade_Magento2_via_CLI&amp;diff=891&amp;oldid=prev</id>
		<title>Brian: /* Input latest version of Magento in composer.json */</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Upgrade_Magento2_via_CLI&amp;diff=891&amp;oldid=prev"/>
				<updated>2016-04-30T18:23:43Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Input latest version of Magento in composer.json&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:23, 30 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As with any CMS there is always going to updates.&amp;#160; If you are currently not using the latest version of Magento 2, which is 2.0.5 at this time, you will want to update/upgrade to the latest release.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As with any CMS there is always going to updates.&amp;#160; If you are currently not using the latest version of Magento 2, which is 2.0.5 at this time, you will want to update/upgrade to the latest release.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Input latest version of &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Magento &lt;/del&gt;in composer.json===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Input latest version of &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Magento2 &lt;/ins&gt;in composer.json===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Find open your composer.json file in your html directory and locate your current version.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Find open your composer.json file in your html directory and locate your current version.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key briansne_wiki-wiki_:diff:version:1.11a:oldid:890:newid:891 --&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://briansnelson.com/index.php?title=Upgrade_Magento2_via_CLI&amp;diff=890&amp;oldid=prev</id>
		<title>Brian: /* Input latest version in composer.json */</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Upgrade_Magento2_via_CLI&amp;diff=890&amp;oldid=prev"/>
				<updated>2016-04-30T18:23:30Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Input latest version in composer.json&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;tr style='vertical-align: top;'&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan='2' style=&quot;background-color: white; color:black; text-align: center;&quot;&gt;Revision as of 18:23, 30 April 2016&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 3:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As with any CMS there is always going to updates.&amp;#160; If you are currently not using the latest version of Magento 2, which is 2.0.5 at this time, you will want to update/upgrade to the latest release.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;As with any CMS there is always going to updates.&amp;#160; If you are currently not using the latest version of Magento 2, which is 2.0.5 at this time, you will want to update/upgrade to the latest release.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Input latest version in composer.json===&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;color:black; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Input latest version &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;of Magento &lt;/ins&gt;in composer.json===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Find open your composer.json file in your html directory and locate your current version.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background-color: #f9f9f9; color: #333333; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #e6e6e6; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Find open your composer.json file in your html directory and locate your current version.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key briansne_wiki-wiki_:diff:version:1.11a:oldid:889:newid:890 --&gt;
&lt;/table&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	<entry>
		<id>https://briansnelson.com/index.php?title=Upgrade_Magento2_via_CLI&amp;diff=889&amp;oldid=prev</id>
		<title>Brian: Created page with &quot;==Upgrade Magento2 via Command line(cli)==  As with any CMS there is always going to updates.  If you are currently not using the latest version of Magento 2, which is 2.0.5 a...&quot;</title>
		<link rel="alternate" type="text/html" href="https://briansnelson.com/index.php?title=Upgrade_Magento2_via_CLI&amp;diff=889&amp;oldid=prev"/>
				<updated>2016-04-30T18:23:13Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Upgrade Magento2 via Command line(cli)==  As with any CMS there is always going to updates.  If you are currently not using the latest version of Magento 2, which is 2.0.5 a...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Upgrade Magento2 via Command line(cli)==&lt;br /&gt;
&lt;br /&gt;
As with any CMS there is always going to updates.  If you are currently not using the latest version of Magento 2, which is 2.0.5 at this time, you will want to update/upgrade to the latest release.&lt;br /&gt;
&lt;br /&gt;
===Input latest version in composer.json===&lt;br /&gt;
&lt;br /&gt;
Find open your composer.json file in your html directory and locate your current version.&lt;br /&gt;
&lt;br /&gt;
 vim composer.json&lt;br /&gt;
&lt;br /&gt;
Find the following lines and update them to 2.0.5&lt;br /&gt;
&lt;br /&gt;
'''around line 17'''&lt;br /&gt;
 &amp;quot;magento/product-community-edition&amp;quot;: &amp;quot;2.0.0&amp;quot;,&lt;br /&gt;
to&lt;br /&gt;
 &amp;quot;magento/product-community-edition&amp;quot;: &amp;quot;2.0.5&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
'''around line 5'''&lt;br /&gt;
 &amp;quot;version&amp;quot;: &amp;quot;2.0.0&amp;quot;,&lt;br /&gt;
to&lt;br /&gt;
 &amp;quot;version&amp;quot;: &amp;quot;2.0.5&amp;quot;,&lt;br /&gt;
&lt;br /&gt;
===Now we can start the upgrade process via composer===&lt;br /&gt;
&lt;br /&gt;
 composer update&lt;br /&gt;
&lt;br /&gt;
When asked for your repo.magento.com credentials, you will want to use the private/public key from your magento account.&lt;br /&gt;
&lt;br /&gt;
 https://marketplace.magento.com/customer/accessKeys/list/&lt;br /&gt;
&lt;br /&gt;
===Then finish up the upgrade:===&lt;br /&gt;
&lt;br /&gt;
Everywhere says you need at least 2Gb of memory to perform the upgrade, I have been able to get away with 1GB, but lets use 2GB just in case &lt;br /&gt;
&lt;br /&gt;
 php -d memory_limit=2048M -f  bin/magento setup:upgrade&lt;br /&gt;
&lt;br /&gt;
 php -d memory_limit=2048M -f  bin/magento setup:static-content:deploy&lt;/div&gt;</summary>
		<author><name>Brian</name></author>	</entry>

	</feed>