Skip to content

Overview

This is our developer docs about Command line Magento:

Command summary

Command Description
magento setup:cache:{enable disable
magento setup:indexer:{status show-mode
magento cron:run Runs Magento cron jobs
magento setup:di:compile-multi-tenant Use only if you have multiple independent Magento applications (in other words, one common Magento code base but more than one independent instance of the Magento application).Compiles all non-existent proxies and factories; and pre-compiles class definitions, inheritance information, and plugin definitions for multiple stores or websites.
magento setup:di:compile Use if you have one instance of the Magento application.Compiles all non-existent proxies and factories; and pre-compiles class definitions, inheritance information, and plugin definitions for one store and website.
magento info:dependencies:{show-modules show-modules-circular

Commands

The following sections discuss the available commands.