Useful commands

There are various commands that slightly differ, depending if you are on a self-hosted environment or using Adobe Commerce Cloud.

On Premise hosting

bin/magento events:generate:module

bin/magento module:enable --all

bin/magento setup:upgrade && bin/magento setup:di:compile

Adobe Commerce on Cloud

composer info magento/ece-tools

Commerce Cloud .magento.env.yaml:

stage:
  global:
    ENABLE_EVENTING: true

Adobe Developer Documentation

Previous pageAdobe Commerce 2.4.5 Installation
Next pageCreate an App Builder project

Commerce