Magento 2 How to check Magento Version
Magento 2 - How to check Magento Version
There´s many Magento 2 versions and editions. Sometimes you need to know, which exactly version of Magento you´re running - for example, for planning upgrade.
Here is a few tricks, which will show your actual version of Magento 2.
Special Magento 2 version page
The simplest way to know, which version you are running without logging in, is a special version page, which each Magento store features.
Just visit this URL: http://your_store.com/magento_version
It will automatically render a simple page with your Magento 2 version.
It will display only major version number, though. If you wish to know also minor version, see other methods below.
**NOTE - I would recommend disabling this output to prevent hackers from trying to find vulnerabilities in your site
Another simple method to check version is available, when you have access to backend. Here is what you need to do:
- Log in to your store backend and open any page, say, Orders.
- Pay attention to the right bottom section - you will see there current Magento 2 version.
Another simple method is a special CLI command. Here is what you need to do:
Log in to SSH/CLI of your store and navigate to the root of your store.
php bin/magento --version
You will see log, which describes current Magento CLI version, which corresponds to your actual Magento version:
Composer Installation File
If your Magento was installed via Composer, you have another method to check Magento 2 version. Here is what you need to do:
Log in to your store using FTP/SSH and navigate to the root of your store.
- Open composer.json file.
- version property in first data structure contains precise version of your Magento 2