Magento just released new versions of Magento Commerce and Open Source to increase product security, performance, and functionality. One of it is the Magento Commerce and Open Source 2.3.1.

My question is, how to update Magento 2.3.0 to the latest version 2.3.1 in cloud using command line?

1 Answer 1


In your composer.json file change version to two place

"version": "2.3.1"

"magento/magento-cloud-metapackage": "2.3.1"

Run below command in local environment

composer update 

Deploy below two files to your cloud it will upgrade to latest version 2.3.1

  • update composer or composer update ? Apr 10, 2019 at 12:01
  • Yes composer update, it's my mistake Apr 10, 2019 at 12:02
  • I have posted my errors Apr 10, 2019 at 12:05
  • you can upgrade magento using same, you do not need to push any file skip this step Apr 10, 2019 at 14:00
  • without update how can I push, I need first update my magento Apr 11, 2019 at 4:30

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.