Created
January 25, 2016 14:47
-
-
Save joostvanveen/bb4664b27090473af608 to your computer and use it in GitHub Desktop.
Get Magento version number from command line
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Echo Magento version number | |
cd /path/to/magento/webroot | |
php -r "include 'app/Mage.php'; echo 'Magento version is: ', Mage::getVersion(); " |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment