How to check Magento version

How to Check Magento Version With Easy Methods in 1 Minute

by nkhuyen
Magento (Adobe Commerce), a widely utilized and well-known eCommerce platform, consistently rolls out new and improved versions that address bugs and enhance functionality. Every new version introduces fresh improvements and functionalities, enhancing the online shopping experience for both consumers and merchants. So, how to check Magento version?
To check the Magento version successfully, you need to possess expertise and comprehensive knowledge of the existing version. To initiate the process of upgrading Magento, the BSS Commerce blog has gathered a variety of ways to verify the Magento version. With the nine methods provided in this post, you can select any one of them to determine the Magento version that is currently running on your store. Now, let’s explore.

How to Check Magento Version with 9 Easy Methods

There are 9 methods to check the Magento 2 version, including:
1. Use a Web Browser
2. Access the Magento Admin Panel
3. Use the Command Line Interface
4. Check the Composer.json File
5. Check Composer.lock file
6. Check From the URL (For Magento 2 Only)
7. Check PHP CodeWay
8. Check With Online Tools
9. Use Chrome Extension
Below is the detailed guide for each method:
how to check magento version

Way 1. Use a Web Browser

To identify the Magento version of your online store, you can utilize a web browser as a convenient and efficient tool.
Add “/magento_version” to the end of your site’s URL, such as www.yourwebsite.com/magento_version, and press enter to view your current version.
How to Check Magento Version via URL
This method enables you to verify your Magento version without the need to access the Magento admin panel or employ command-line interfaces.

Way 2. Access the Magento Admin Panel

To verify the Magento version through the admin panel, access your Magento admin dashboard. After logging in, proceed to the lower right corner of the page and locate the “Magento” logo.
Check Magento version in the Magento dashboard
Hover your cursor over it, and a pop-up will appear, revealing your Magento version number. This approach is both swift and effortless, enabling you to check your Magento version without requiring any technical knowledge or supplementary tools.

Way 3. Use the Command Line Interface

To determine your Magento version using the command line interface, adhere to the subsequent instructions. Initially, launch the command prompt on your computer. Subsequently, navigate to the directory where your Magento installation is located by utilizing the “cd” command.
Once you have successfully reached the appropriate directory, input the subsequent command:
php bin/magento –version
In addition, you can determine whether the Magento version is a community or enterprise edition by executing the command below: composer licenses | grep Name:

Way 4. Check the Composer.json File

To verify the version of your Magento software, you can refer to the composer.json file. This file can be found in the main directory of your Magento installation. Let’s open the file and locate the version field.
Check Composer.json file
The value displayed next to the version field will indicate the current version of your Magento software. Through checking the composer.json file, you can easily determine the specific version of Magento you are using.

Way 5. Check Composer.lock file

Get the Magento 2 version in the root composer.lock file:
Check Composer.lock file

Way 6. Check From the URL (For Magento 2 Only)

The next method to verify the Magento version is by manually adding /magento_version after your domain URL and conducting a search. The search results will display the Magento version and edition currently running on your website.
how to check magento version 3

Way 7. Check PHP CodeWay

You can use this in 2.0.x versions:
echo \Magento\Framework\AppInterface::VERSION;
For version 2.1
The first way, using DI:
public function __construct( \Magento\Framework\App\ProductMetadataInterface $productMetadata ) {
$this->productMetadata = $productMetadata;
}
public function getMagentoVersion() {
return $this->productMetadata->getVersion();
}
The second way, using ObjectManager directly:
$objectManager = \Magento\Framework\App\ObjectManager::getInstance();
$productMetadata = $objectManager->get(‘Magento\Framework\App\ProductMetadataInterface’);
echo $productMetadata->getVersion();

Way 8. Check With Online Tools

In addition to the aforementioned methods, there is an online tool available for free usage as well. Likewise, input your store’s URL, and it will promptly display the verified Magento version and edition within seconds.
Check Magento version at MageReport
magereport
MageReport, offered by Hypernode, a reputable hosting provider for Magento merchants, offers valuable insights into the version and edition of Magento being utilized in your online stores. Additionally, it conducts thorough scans to identify any security issues your website may be encountering, providing essential remediation recommendations to address these vulnerabilities.
MageReport utilizes advanced behavior-based identification techniques, making it a reliable and indispensable tool for store managers. Below are some of the security vulnerabilities that MageReport can detect in Magento-based eCommerce websites:
  • Current Magento version
  • Outdated Magento version
  • Default /admin location
  • Missing security patches
  • Ransomware threats
  • Unsecured version control
  • Obsolete server software

Way 9. Use Chrome Extension

If you’re looking for a Chrome extension to check the Magento version, “Magewave: Magento Version Identifier” is a great extension to try. This extension helps identify whether a website uses Magento. For Magento 2 websites, it also shows which Magento edition you’re using.
magewave extension
Features
  • Detects if a website is built on Magento
  • Displays the specific Magento version and edition

Benefits of Upgrading to the Latest Magento Version

Upgrading to the latest version of Magento offers several significant benefits for eCommerce businesses. Below are two main benefits that you can consult:

#1. Improved security and bug fixes

The most recent update of Magento includes enhanced security measures and bug fixes to boost the overall efficiency of your eCommerce website. With every new version, Magento tackles vulnerabilities and resolves any known bugs to provide a more secure and dependable platform. These regular updates play a crucial role in safeguarding your store against potential threats, ensuring the protection of sensitive customer information and transactions.

#2. Optimized performance and added functionalities

Magento continuously enhances its platform’s security, resolves bugs, and boosts performance with every update. Thanks to utilizing the most recent version, you can leverage these enhancements to guarantee seamless and efficient operation of your store. Each release typically introduces new features, enabling you to provide an enhanced user experience for your customers.

Final Verdict – How to Check Magento Version

It can be claimed that Magento 2 is a robust eCommerce solution that offers a range of features and tailored services for commercial purposes. For those who have installed this platform on their websites, it is natural to contemplate which Magento version to choose or update to enhance the performance of their stores. This post aims to assist you in finding the solution to the question “How to check Magento version” and edition through various simple methods, enabling you to make an informed decision for your online stores.
Therefore, if you are looking for the advanced features of the Magento store, the Magento 2 development services by BSS Commerce developer are the ideal solution. BSS’s team of skilled developers will guarantee a seamless and efficient upgrade process while also preserving your current store data and customizations. By using these extensions, you will be able to take advantage of the latest Magento 2 features to provide your customers with a more seamless user experience.

Next Reading Suggestions

© 2019 BSS Commerce owned by THANH CONG INTER ., JSC. All Rights Reserved.
Business registration certificate no. 0106064469 issued by Hanoi Department of Planning and Investment on 19 December 2019.
Legal Representative: Mr. Nguyen Quang Trung.