LinuxCommandLibrary

magento

magento

TLDR

Enable one or more modules

$ magento module:enable [module1 module2 ...]
copy


Disable one or more modules
$ magento module:disable [module1 module2 ...]
copy


Update the database after enabling modules
$ magento setup:upgrade
copy


Update code and dependency injection configuration
$ magento setup:di:compile
copy


Deploy static assets
$ magento setup:static-content:deploy
copy


Enable maintenance mode
$ magento maintenance:enable
copy


Disable maintenance mode
$ magento maintenance:disable
copy


List all available commands
$ magento list
copy

Copied to clipboard