How to check Magento 2 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.

Backend Footer

Another simple method to check version is available, when you have access to backend. Here is what you need to do:

  1. Log in to your store backend and open any page, say, Orders.
  2. Pay attention to the right bottom section – you will see there current Magento 2 version.

SSH/CLI Command

Another simple method is a special CLI command. Here is what you need to do:

  1. Log in to SSH/CLI of your store and navigate to the root of your store.
  2. Run command 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:

  1. Log in to your store using FTP/SSH and navigate to the root of your store.
  2. Open composer.json file.
  3. version property in first data structure contains precise version of your Magento 2
Magento CLI version 2.2.3