Skip to main content

Command Documentation

Welcome to the n98-magerun2 Command Reference. This section provides a detailed overview of all available commands, categorized by namespace.

Command Category/Namespace Overview

This table will help you navigate to the relevant group of commands based on their functionality.

Category/NamespaceDescriptionExample Commands
adminCommands for managing Magento admin user accounts and related settings.admin:user:list, admin:user:create, admin:user:change-password, admin:notifications
cacheCommands for interacting with and managing Magento's various cache systems.cache:clean, cache:disable, cache:enable, cache:flush, cache:list
configCommands for managing Magento store configurations and environment settings.config:store:get, config:store:set, config:env:set, config:search
customerCommands for managing Magento customer accounts.customer:create, customer:list, customer:info, customer:change-password
dbCommands for database operations such as dumps, imports, and queries.db:dump, db:import, db:query, db:create, db:info
devCommands tailored for Magento developers, including code generation and debugging tools.dev:module:create, dev:console, dev:translate:admin, dev:theme:list
eavCommands for managing EAV (Entity-Attribute-Value) attributes.eav:attribute:list, eav:attribute:view, eav:attribute:remove
generationCommands related to Magento's code generation processes.generation:flush
giftcardCommands for managing Magento gift cards.giftcard:pool:generate, giftcard:create, giftcard:info, giftcard:remove
indexCommands for managing Magento's indexers.index:list, index:trigger:recreate
installCommand for installing Magento.install
integrationCommand for integrations to Magento.integration:list, integration:show, integration:delete
magerunCommands for working with n98-magerun2 config and internal tools.magerun:config:info, magerun:config:dump
routesCommands for managing and viewing Magento routes.routes:list
scriptCommand for running sequences of n98-magerun2 commands from a file.script
sysCommands for system-level information, checks, and maintenance tasks.sys:info, sys:check, sys:maintenance, sys:cron:list, sys:store:list