snippetbashTip
magento — Manage the Magento PHP framework. More information: <https://experienceleague.adobe.com/en/docs/comm
Viewed 0 times
thecommandframeworkclimagentomanagephp
Problem
How to use the
magento command: Manage the Magento PHP framework. More information: <https://experienceleague.adobe.com/en/docs/commerce-operations/tools/cli-reference/commerce-on-premises>.Solution
magento — Manage the Magento PHP framework. More information: <https://experienceleague.adobe.com/en/docs/commerce-operations/tools/cli-reference/commerce-on-premises>.Enable one or more modules:
magento module:enable {{module1 module2 ...}}Disable one or more modules:
magento module:disable {{module1 module2 ...}}Update the database after enabling modules:
magento setup:upgradeUpdate code and dependency injection configuration:
magento setup:di:compileDeploy static assets:
magento setup:static-content:deployEnable maintenance mode:
magento maintenance:enableDisable maintenance mode:
magento maintenance:disableList all available commands:
magento listCode Snippets
Enable one or more modules
magento module:enable {{module1 module2 ...}}Disable one or more modules
magento module:disable {{module1 module2 ...}}Update the database after enabling modules
magento setup:upgradeUpdate code and dependency injection configuration
magento setup:di:compileDeploy static assets
magento setup:static-content:deployContext
tldr-pages: common/magento
Revisions (0)
No revisions yet.