Version upgrade in magento 2 using command-line

Magento2 Version upgrade through command line (From 2.1.3 to 2.1.5 ) via composer

Upgrade using the command line

1. Log in to your Magento server.

Change to the directory in which you installed the Magento software.

For example,

2. Enter the following commands in the order shown:

composer require –no-update
composer update

For example, to upgrade to Magento CE version 2.1.5, enter:

3. Manually clear var subdirectories. If you use a cache storage other than filesystem (e.g., Redis, Memcached, etc.) you need to manually clear the cache there too.

4. Update the database schema and data:

5. Compile and Reindexing

For more details click here

Share this article

Leave a comment