Get Magento version with single SSH command - Webforward Blog
14th December 2015
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: , , , ,
About the Author

At heart, I am a geek. I started building websites at the age of 11 and have grown from a freelancer to running three successful web agencies located in Tamworth, Cardiff and Surrey, primarily through word-of-mouth. I love web design, and I like to think that it shows in our work. My specialities lie in bespoke web development, security testing and server management but I have a passionate team around me to complete the whole package and make our businesses the number one choice.

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