Update Magento from shell

First we set the shop to maintenance mode:

php magento maintenance:enable

To update Magento to version 2.3.0 run the following command:

composer require magento/product-community-edition 2.3.0 --no-update
composer update

Finally we disable the maintenance mode:

php magento maintenance:disable
Share on facebook
Share on twitter
Share on linkedin
Share on whatsapp