Check the Magento version
Use any of the following ways to determine which version of Magento is installed:
- From the command line
- With an HTTP GET request
- From within the Magento Admin
- By viewing the
composer.lock
file
Command line
The following command returns the Magento version.
Command:
1
bin/magento --version
Response:
1
Magento CLI version 2.3.0
HTTP GET request
An HTTP request returns less detailed information about the Magento version.
Request:
1
http://<magento2-store>/magento_version
Response:
1
Magento/2.3 (Community)
Magento Admin
Login to Magento as a registered Admin user. The Magento version is displayed at the bottom right of the page, above the Account Activity and Report an Issue links:
The composer.lock
file
If Magento was installed using the composer install
command, you can search the <Magento_root>/composer.lock
file for magento/product-community-edition
or magento/product-enterprise-edition
, depending on which version of Magento is installed.
1
2
3
{
"name": "magento/product-community-edition",
"version": "2.3.2",