I work with different projects using Magento 2.1, 2.2 and 2.3, I'd like to update each project to the last version available of each release, for example:

Magento 2.2.4 -> Magento 2.2.11

How could I check all the releases available via terminal?

1 Answer 1


You just need to run these commands below to check the full list of all the releases available:

Magento Open Source:

composer show magento/product-community-edition --all | grep -m 1 versions

Magento Commerce:

composer show magento/product-enterprise-edition --all | grep -m 1 versions

Magento 2 all releases via terminal

  • 1
    As enhancement regarding the question, filter the versions by piping the result to eg. grep -oP '2.2.[0-9][\w-]*'
    – apeters
    Commented Jul 17, 2020 at 19:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.