Useful Commands List In Magento 2

Useful Commands List In Magento 2

Blog
Setup Upgrade Command Line Run the Setup Upgrade Command to upgrade your store when install / update an extension. php bin/magento setup:upgrade When to execute this command, When you made changes in the Setup script(InstallData, InstallSchema, UpgradeData, UpgradeScheme) When you install a new module At the time of the first Magento installation. When you change setup_version in module.xml After upgrading Magento version. Compilation Command using Command Line Run the Compile Command to generate the process. php bin/magento setup:di:compile When to execute this command, If you made changes like add new dependency in __construct(), changes in di.xml, Add new controller… If you are in developer mode you can simply delete changed files from var/generation folder for Magento 2.2.x version and /generated folder for Magento 2.3.x Static Content Deploy Command using Command…
Read More