Sunday , December 22 2024
Home > Magento Tips & News > News & Updates > How to Upgrade Magento 2.3 to 2.4 in 5 Steps

How to Upgrade Magento 2.3 to 2.4 in 5 Steps

Magento 2.3 to 2.4 upgrade is very simple. Just follow the steps below.

Step 1: Backup your site

Step 2: For Magento Open Source, run command:

composer require magento/product-community-edition=2.4.0 --no-update

For Magento Commerce, run command:

composer require magento/product-enterprise-edition=2.4.0 --no-update

Step 3: For Magento Open Source, run command:

composer require magento/product-community-edition=2.4.0 --no-update
composer update

For Magento Commerce, run command:

composer require magento/product-enterprise-edition=2.4.0 --no-update
composer update

Step 4: Run another SSH command and upgrade the Magento database:

php bin/magento setup:upgrade

Step 5: Run this command in production mode: 

php bin/magento deploy:mode:set production

Magento 2.3 to 2.4 upgrade is now finished. 

Related article: Magento 2.3 vs Magento 2.4 – the complete guide

Optimize Your Magento Store With Powerful Extensions

Looking for fast, efficient and well-coded extensions to build or optimize your Magento stores for sales boosting? Then visit Magezon website and grab necessary add-ons for yours today!

About Alice Dinh

Alice Dinh
Alice is a writer at Magezon. She is on a mission to help readers learn about Magento and e-commerce to grow their online business. A chocolate fanatic once in a while.

Check Also

upgrade-compatibility-tool-02

Discard Magento 2.3 to 2.4 Upgrade Issues | Upgrade Compatibility Tool

Recently, Magento Developers or Users started upgrading their Magento 2 websites to the latest version. …

Leave a Reply