Magento CLI How to update Magento 2 version using composer? By Sudhanshu Bajaj on Sunday, March 1, 2020 Before you update please you take backup of files and database. Also go through the prerequisites like update and upgrade checklist, check PHP and environment settings, enable maintenance mode if needed.