Magento2 Upgrade current installation using command line

Hello In this wiki i will show you how to upgrade magento to  (CC 2.3.3) version by Command line

Please follow these steps 

php composer.phar require magento/product-community-edition 2.3.1 --no-update
composer update  // Or (php composer.phar update, you can download the composer.phar at the end of this wiki )
php bin/magento setup:upgrade
php bin/magento cache:clean
php bin/magento cache:flush
php bin/magento setup:di:compile
php bin/magento indexer:reindex

 

File : composer.phar