www.sexvibe.video

Magento 2 Quick Useful CLI Commands

list of available Magento 2 cli commands

0

One of the most useful improvements of Magento 2 over its predecessor is its built-in Command Line Interface (CLI) tool.

This powerful tool allows you to perform a wide variety of tasks including installation, configuration, database backups, compiling LESS etc.

CLI CommandShortcutDescription
php bin/magento list php bin/magento l List Commands
php bin/magento cache:clean php bin/magento c:cCleans cache type(s)
php bin/magento cache:disablephp bin/magento c:dDisables cache type(s)
php bin/magento cache:enablephp bin/magento c:eEnables cache type(s)
php bin/magento cache:flushphp bin/magento c:fFlushes cache storage used by cache type(s)
php bin/magento cache:statusphp bin/magento c:sChecks cache status
php bin/magento indexer:reindexphp bin/magento i:rei
Reindex all the data
php bin/magento maintenance:statusphp bin/magento ma:s
Check maintenance mode status
php bin/magento setup:backupphp bin/magento se:b
Takes the backup of whole magento directory
php bin/magento store:website:list
php bin/magento c:sLists all the websites available
php bin/magento catalog:images:resize php bin/magento c:i:rResize all the images of catalog.

We suggest bookmarking this so that you can come quickly any time you need a specific command for your Magento 2 project. And if you’ve any questions or need any sort of help, feel free to reach out.

5 2 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments

classy ebony stepdaughter screwed sensually.kirmiziyilan.com

0
Would love your thoughts, please comment.x
()
x