How do I find my current Magento version?
Three quick ways, pick whichever is easiest:
- Admin → System → System Information. Magento prints the exact version (e.g.
Magento ver. 2.4.7-p4) at the top of the page, along with PHP version, MySQL version, OpenSearch/Elasticsearch version, and PHP extensions list. This is the single best place to start. - CLI: SSH to your server,
cdto your Magento root, and runphp bin/magento --version. Outputs e.g.Magento CLI 2.4.7-p4. - Composer:
composer show magento/product-community-editionshows the installed version and what’s available to upgrade to. For Adobe Commerce, usemagento/product-enterprise-edition.
Common gotcha: composer.json may list a different version than what’s actually installed if composer install hasn’t run since the last edit. bin/magento --version is the source of truth.
If you’re on a really old version (2.0-2.1) the System Information page may not exist; check app/etc/config.php or the footer of the admin login screen.