Go Back

Get Magento version with single SSH command


If you just want to get the Magento version on the command line quickly then change directory to your magento root and try this one liner:

php -r "require 'app/Mage.php'; echo Mage::getVersion();"
Tags: , , , ,

Subscribe to our mailing list and we will keep you up to date with our latest blog posts!