{"id":474,"date":"2019-06-18T05:30:18","date_gmt":"2019-06-18T05:30:18","guid":{"rendered":"https:\/\/meetanshi.com\/blog\/2019\/06\/18\/check-magento-version\/"},"modified":"2025-12-09T17:14:04","modified_gmt":"2025-12-09T11:44:04","slug":"check-magento-version","status":"publish","type":"post","link":"https:\/\/meetanshi.com\/blog\/check-magento-version\/","title":{"rendered":"5 Easiest Ways to Check Magento Version In 2026"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Magento (Adobe Commerce) is a widely used ecommerce platform that keeps updating new versions for your store so that it runs smoothly without any bugs.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This makes it necessary to check which version of Magento you are currently using; this understanding will help you know if you need to switch to the latest version or if you are up to date.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I have compiled a list of ways on how to check the Magento version. Pick anyone and find out which Magento version your store is using.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">5 Ways to Check Magento Version:<\/h2>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Check Admin Dashboard<\/li>\n\n\n\n<li>Get The Version Name From Composer.json<\/li>\n\n\n\n<li>Use Command Line Interface<\/li>\n\n\n\n<li>Check From The URL<\/li>\n\n\n\n<li>Check the Magento Version Programmatically<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\">1. Check Admin Dashboard<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">A very simple method, often unnoticed! Log into your admin panel and scroll to the bottom of the dashboard. You\u2019ll find the version of your Magento installed as shown below:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Magento 1:<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/06\/Magento-1-version-700x317-1.png\" alt=\"Check Admin Dashboard\" class=\"wp-image-49047\"\/><\/figure>\n<\/div>\n\n\n<p class=\"wp-block-paragraph\"><strong>Magento 2:<\/strong><\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/06\/Magento-2-version-700x290-1.png\" alt=\"Check Admin Dashboard\" class=\"wp-image-49051\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">2. Get The Version Name From Composer.json<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\u200b\u200bYou can detect the Magento version you are using from the Composer.json.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Note that this method of checking the Magento version is only applicable to Magento 2. To get&nbsp;the Magento 2 version in the root composer.json file follow these steps:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Head to the root Magento folder<\/li>\n\n\n\n<li>Open the composer.json file<\/li>\n\n\n\n<li>Look for the version information<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/06\/Composer.json-1-1.png\" alt=\"Get The Version Name From Composer.json\" class=\"wp-image-49056\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">3. Use Command Line Interface<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Run the below command to check the Magento version:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em>php bin\/magento --version<\/em><\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">To find if the Magento version is a community or enterprise edition, run the below command:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code><em>composer licenses | grep Name:<\/em><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">4. Check From The URL<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">Here is a simple way to check the Magento version online. Simply type your store domain url and add \/magento_version in the address bar.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Hit enter, and you\u2019ll get the Magento 2 version as below:<\/p>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img decoding=\"async\" src=\"https:\/\/meetanshi.com\/blog\/wp-content\/uploads\/2019\/06\/Check-version-online-.png\" alt=\"check the Magento version online\"\/><\/figure>\n<\/div>\n\n\n<h3 class=\"wp-block-heading\">5. Check the Magento Version Programmatically<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Magento 1:<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Mage::getVersion() \/\/will return the magento version<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Magento 2.0.X<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">echo MagentoFrameworkAppInterface::VERSION;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>For Magento 2.1.x to 2.3.x<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Using DI<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">public function __construct( \\Magento\\Framework\\App\\ProductMetadataInterface $productMetadata ) { \n    $this->productMetadata = $productMetadata; \n} \npublic function getMagentoVersion() { \n    return $this->productMetadata->getVersion(); \n}<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. Using ObjectManager<\/strong><\/p>\n\n\n\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"generic\" data-enlighter-theme=\"\" data-enlighter-highlight=\"\" data-enlighter-linenumbers=\"\" data-enlighter-lineoffset=\"\" data-enlighter-title=\"\" data-enlighter-group=\"\">$objectManager = \\Magento\\Framework\\App\\ObjectManager::getInstance(); \n$productMetadata = $objectManager->get('Magento\\Framework\\App\\ProductMetadataInterface'); \necho $productMetadata->getVersion();<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\">Frequently Asked Questions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">1. What is the current Magento version?<br>Ans: The current Magento version is 2.4.8.<br><br>2. How do I download the latest version of Magento?<br>Ans: You can simple download the latest version from here:&nbsp;<a href=\"https:\/\/meetanshi.com\/blog\/download-magento\/\">Download Magento 2 With Sample Data<\/a><br><br>3. Which Magento version should I use?<br>Ans: It\u2019s recommended to use the latest Magento version, which is currently Magento 2.4.8.<\/p>\n\n\n\n<script type=\"application\/ld+json\">\n{\n  \"@context\": \"https:\/\/schema.org\",\n  \"@type\": \"FAQPage\",\n  \"mainEntity\": [\n    {\n      \"@type\": \"Question\",\n      \"name\": \"What is the current Magento version?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"The current Magento version is 2.4.8.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"How do I download the latest version of Magento?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"You can simple download the latest version from here: Download Magento 2 With Sample Data.\"\n      }\n    },\n    {\n      \"@type\": \"Question\",\n      \"name\": \"Which Magento version should I use?\",\n      \"acceptedAnswer\": {\n        \"@type\": \"Answer\",\n        \"text\": \"It\u2019s recommended to use the latest Magento version, which is currently Magento 2.4.8.\"\n      }\n    }\n  ]\n}\n<\/script>\n\n\n\n\n<h2 class=\"wp-block-heading\">Switch to The Latest Version Without Any Hassle<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I am sure you\u2019ll find a suitable method to check the Magento version from this list.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Sometimes, online tools may not give accurate results, so it is recommended not to rely on them constantly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Through these steps, if you discover that you\u2019re not using the latest Magento version, then it is time to upgrade.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Not sure how to do it or want to avoid the tiresome task? You may check the&nbsp;<a href=\"https:\/\/meetanshi.com\/magento-upgrade-service.html\">Magento<\/a><a href=\"https:\/\/meetanshi.com\/magento-upgrade-service\"> 2 Upgrade Service<\/a>.<br><br><\/p>\n","protected":false},"excerpt":{"rendered":"<p>A compilation of methods to check the Magento version of the store. Find out if your Magento version installed is the latest or not with any of these methods.<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[34],"tags":[],"class_list":["post-474","post","type-post","status-publish","format-standard","hentry","category-magento"],"acf":[],"_links":{"self":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/comments?post=474"}],"version-history":[{"count":7,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/474\/revisions"}],"predecessor-version":[{"id":24659,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/posts\/474\/revisions\/24659"}],"wp:attachment":[{"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/media?parent=474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/categories?post=474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/meetanshi.com\/blog\/wp-json\/wp\/v2\/tags?post=474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}