{"id":113,"date":"2017-12-03T12:02:13","date_gmt":"2017-12-03T06:32:13","guid":{"rendered":"http:\/\/www.hiddentechies.com\/blog\/?p=113"},"modified":"2020-03-13T16:03:18","modified_gmt":"2020-03-13T10:33:18","slug":"upgrade-magento-2-version","status":"publish","type":"post","link":"https:\/\/www.hiddentechies.com\/blog\/ecommerce-tips\/upgrade-magento-2-version\/","title":{"rendered":"How to upgrade your Magento 2 version?"},"content":{"rendered":"<p>In this article, You will learn how to upgrade your Magento 2 version from 2.x.x for 2.x.x using Command-Line Interface (CLI). Then upgrade your Magento 2 by following these steps:<\/p>\n<p><strong>1) Access Your Server via SSH<\/strong><br \/>\n<strong>2) Navigate to the Magento 2 Root Directory<\/strong><br \/>\n<strong>3) Upgrade Commands<\/strong><\/p>\n<pre class=\"lang:default decode:true \">composer require magento\/product-community-edition 2.x.x --no-update\r\ncomposer update\r\nrm -rf var\/di var\/generation\r\nphp bin\/magento cache:clean\r\nphp bin\/magento cache:flush\r\nphp bin\/magento setup:upgrade\r\nphp bin\/magento setup:di:compile\r\nphp bin\/magento indexer:reindex\r\nphp bin\/magento setup:static-content:deploy\r\n<\/pre>\n<p><strong>4) Check your Magento version using below command<\/strong><\/p>\n<pre class=\"lang:default decode:true \">php bin\/magento --version<\/pre>\n<p>Now please make sure your Magento 2 version upgraded successfully by loading frontend and backend panel. Enjoy Latest version of Magento 2 and its features.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this article, You will learn how to upgrade your Magento 2 version from 2.x.x for 2.x.x using Command-Line Interface (CLI). Then upgrade your Magento 2 by following these steps: 1) Access Your Server via SSH 2) Navigate to the Magento 2 Root Directory 3) Upgrade Commands composer require magento\/product-community-edition 2.x.x &#8211;no-update composer update rm&#8230; <\/p>\n<div class=\"actions\"><a href=\"https:\/\/www.hiddentechies.com\/blog\/ecommerce-tips\/upgrade-magento-2-version\/\">Continue Reading<\/a><\/div>\n","protected":false},"author":1,"featured_media":4726,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[41,10,42,43],"_links":{"self":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/113"}],"collection":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/comments?post=113"}],"version-history":[{"count":3,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/113\/revisions"}],"predecessor-version":[{"id":10546,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/posts\/113\/revisions\/10546"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media\/4726"}],"wp:attachment":[{"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/media?parent=113"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/categories?post=113"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hiddentechies.com\/blog\/wp-json\/wp\/v2\/tags?post=113"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}