Magento is surely a powerful CMS for eCommerce. This is a list of important and most used SSH/CLI commands for Magento 2. I hope these Magento 2 commands can help you in managing the Magento. Magento 2 Requirements that You Must Take care of.What are MySQL Triggers and How to create them?.How to Install Magento 2.4 with Command Line?.Generates Varnish VCL and echos it to the command line php bin/magento varnish:vcl:generate Uninstalls theme php bin/magento Theme:uninstall Upgrades the Magento application, DB data, and schema php bin/magento setup:upgrade Store Commandsĭisplays the list of stores php bin/magento store:listĭisplays the list of websites php bin/magento store:website:list Uninstalls the Magento application php bin/magento Setup:uninstall Use config:set instead php bin/magento Setup:store-config:set Rolls back Magento Application codebase, media and database php bin/magento Setup:rollbackĭeploys static view files php bin/magento Setup:static-content:deploy Generates fixtures php bin/magento Setup:performance:generate-fixtures Installs the Magento application php bin/magento Setup:install Takes backup of Magento Application code base, media and database php bin/magento Setup:backup Prints list of available backup files php bin/magento info:backups:list Setup Commands Shows number of dependencies between modules php bin/magento info:dependencies:show-modules Shows number of dependencies on Magento framework php bin/magento Info:dependencies:show-framework Prints list of available backup files php bin/magento Info:backups:listĭisplays the list of available currencies php bin/magento info:currency:list Shows status of Indexer php bin/magento indexer:statusĪlso Read: How to Reindex Magento 2 from SSH/CLI or Admin Panel? Info Commandsĭisplays the Magento Admin URI php bin/magento info:adminuri Shows Index Mode php bin/magento indexer:show-mode Sets index mode type php bin/magento indexer:set-mode Resets indexer status to invalid php bin/magento indexer:reset Reindexes Data php bin/magento indexer:reindex Shows allowed Indexers php bin/magento indexer:info Set application mode php bin/magento deploy:mode:setĭisplays current application mode php bin/magento deploy:mode:show Indexer Commands Runs jobs by schedule php bin/magento cron:run Deploying Apps Removes tasks from crontab php bin/magento cron:remove Generates and installs crontab for current user php bin/magento cron:install Upgrade customer’s hash according to the latest algorithm php bin/magento customer:hash:upgrade Cron Commands Resize product images php bin/magento catalog:images:resize php bin/magento maintenance:enable -ip=noneĭisable Maintenance Mode Using Command Line php bin/magento maintenance:disableĬheck Maintenance Mode Status Using Command Line php bin/magento maintenance:statusĪllow IP on Maintenance Mode Using Command Line php bin/magento maintenance:allow-ips -ip=192.0.0.1 -ip=192.0.0.2 Cache CommandsĬlean Cache type php bin/magento cache:cleanĮnables Cache type php bin/magento cache:enableįlushes cache storage used by cache type(s) php bin/magento cache:flushvĬhecks cache status php bin/magento cache:status Unlock Admin User Using Command Line php bin/magento admin:user:unlock adminusername Maintenance Mode CommandsĮnable Maintenance Mode Using Command Line php bin/magento maintenance:enable Admin CommandsĬreate Admin Account php bin/magento admin:user:create In this article, I am sharing the useful Magento 2 command.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |