You must install and configure Elasticsearch 7.6.x before upgrading to Adobe Commerce or Magento Open Source 2.4.0. See Check the catalog search engine for details.

Upgrade modules

To update or upgrade a module or extension:

  1. Download the updated file from Marketplace or another extension developer. Take note of the module-name and version.

  2. Export the contents to your Magento root.

  3. If a Composer package exists for the module, run one of the following.

    Update per module name:

    composer update vendor/module-name

    Update per version:

    composer require vendor/module-name ^x.x.x
  4. Run the following commands to upgrade, deploy, and clean the cache.

    bin/magento setup:upgrade --keep-generated
    bin/magento setup:static-content:deploy
    bin/magento cache:clean