How can a developer upgrade a Magento 2 store to the latest version?

upgrade

(Dmitry Fedyuk) #1
git pull
composer self-update
composer update --prefer-source
bin/magento setup:upgrade

How to move site from Beta to Stable version ?
How can a merchant upgrade a Magento 2 store to the latest version?
(Sandeep Pandey) #2

Thanks For consideration Dmitry but ,

These commands to run in ssh and how to run
"git pull" command and what does this command do.

composer self-update

composer update --prefer-source

bin/magento setup:upgrade


(Dmitry Fedyuk) #3

https://www.google.com/search?q=git+pull


(Dmitry Fedyuk) #4

See also:


(Oliver Russell) #5

Connect to your web server via SSH. Log in to your Magento 2 server with full file system ownership.

Navigate to your Magento 2 ROOT directory.

Enter

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

If you want to later upgrade to future version, when they come out, you can change 2.1.3 to that version number.

composer update