MAGENTO 2 BASIC COMMANDS

Upgrade Setup

php bin/magento setup:upgrade

upgarde magento 2 installation without changing pub/static

php bin/magento setup:upgrade --keep-generated

Clean Cache

php bin/magento cache:clean

Flush Cache

php bin/magento cache:flush

Cache Enable

php bin/magento cache:enable [cache_type]

Cache Disable

php bin/magento cache:disable [cache_type]

Static Content Deploy - Use force deploy -f for 2.2.x or later

php bin/magento setup:static-content:deploy

Static Content Deploy For Language

php bin/magento setup:static-content:deploy en_US

Re-indexing

php bin/magento indexer:reindex

list of indexers

php bin/magento indexer:info

indexer status

php bin/magento indexer:status

mode of all indexers

php bin/magento indexer:show-mode

modules Status

php bin/magento module:status

Enable module

php bin/magento module:enable Namespace_Module

Disable module

php bin/magento module:disable Namespace_Module

Current Mode

php bin/magento deploy:mode:show

Developer Mode

php bin/magento deploy:mode:set developer

Production Mode

php bin/magento deploy:mode:set production

Run Compiler

php bin/magento setup:di:compile

Enable Maintenance Mode

php bin/magento maintenance:enable

Disable Maintenance Mode

php bin/magento maintenance:disable

Maintenance Mode Status

php bin/magento maintenance:status

Experienced Magento Certified Developer with a demonstrated history of working in the information technology and services industry. Skilled in SQL, PHP, XAMPP, jQuery, and Microsoft Office. Strong engineering professional with a Master of Computer Applications

0 comments:

Post a Comment

Popular Posts

Have You Any Questins Let Us Know.

Contact Us
DENISH VACHHANI
Ahmedabad India