How to know Magento version via the command line?

To find out the version of Magento installed on your system via the command line, you can use the following command in the Magento root directory:

php bin/magento --version


grep -A6 'static function getVersionInfo' app/Mage.php

From a browser you may try to reach the following page:


This will display the version number of Magento installed on your system.

Similar Posts:

Leave a Reply

Your email address will not be published. Required fields are marked *