Version: 2.4.7-beta2
This reference contains 115 commands available through the bin/magento
command-line tool.
The initial list is auto generated using the bin/magento list
command at Magento Open Source.
Use the “Add CLI commands” guide to add a custom CLI command.
You can call bin/magento
CLI commands using shortcuts instead of the full command name. For example, you can call bin/magento setup:upgrade
using bin/magento s:up
, bin/magento s:upg
. See shortcut syntax to understand how to use shortcuts with any CLI command.
This reference is generated from the application codebase. To change the content, you can update the source code for the corresponding command implementation in the codebase repository and submit your changes for review. Another way is to Give us feedback (find the link at the upper right). For contribution guidelines, see Code Contributions.
_complete
Internal command to provide shell completion suggestions
bin/magento _complete [-s|--shell SHELL] [-i|--input INPUT] [-c|--current CURRENT] [-S|--symfony SYMFONY]
--shell
, -s
The shell type (“bash”)
--input
, -i
An array of input tokens (e.g. COMP_WORDS or argv)
[]
--current
, -c
The index of the “input” array that the cursor is in (e.g. COMP_CWORD)
--symfony
, -S
The version of the completion script
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
completion
Dump the shell completion script
bin/magento completion [--debug] [--] [<shell>]
shell
The shell type (e.g. “bash”), the value of the “$SHELL” env var will be used if this is not given
--debug
Tail the completion debug log
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
help
Display help for a command
bin/magento help [--format FORMAT] [--raw] [--] [<command_name>]
command_name
The command name
help
--format
The output format (txt, xml, json, or md)
txt
--raw
To output raw command help
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
list
List commands
bin/magento list [--raw] [--format FORMAT] [--short] [--] [<namespace>]
namespace
The namespace name
--raw
To output raw command list
false
--format
The output format (txt, xml, json, or md)
txt
--short
To skip describing commands’ arguments
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
admin:adobe-ims:disable
Disable Adobe IMS Module
bin/magento admin:adobe-ims:disable
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
admin:adobe-ims:enable
Enable Adobe IMS Module.
bin/magento admin:adobe-ims:enable [-o|--organization-id [ORGANIZATION-ID]] [-c|--client-id [CLIENT-ID]] [-s|--client-secret [CLIENT-SECRET]] [-t|--2fa [2FA]]
--organization-id
, -o
Set Organization ID for Adobe IMS configuration. Required when enabling the module
--client-id
, -c
Set the client ID for Adobe IMS configuration. Required when enabling the module
--client-secret
, -s
Set the client Secret for Adobe IMS configuration. Required when enabling the module
--2fa
, -t
Check if 2FA is enabled for Organization in Adobe Admin Console. Required when enabling the module
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
admin:adobe-ims:info
Information of Adobe IMS Module configuration
bin/magento admin:adobe-ims:info
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
admin:adobe-ims:status
Status of Adobe IMS Module
bin/magento admin:adobe-ims:status
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
admin:user:create
Creates an administrator
bin/magento admin:user:create [--admin-user ADMIN-USER] [--admin-password ADMIN-PASSWORD] [--admin-email ADMIN-EMAIL] [--admin-firstname ADMIN-FIRSTNAME] [--admin-lastname ADMIN-LASTNAME] [--magento-init-params MAGENTO-INIT-PARAMS]
--admin-user
(Required) Admin user
--admin-password
(Required) Admin password
--admin-email
(Required) Admin email
--admin-firstname
(Required) Admin first name
--admin-lastname
(Required) Admin last name
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
admin:user:unlock
Unlock Admin Account
bin/magento admin:user:unlock <username>
username
The admin username to unlock
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
app:config:dump
Create dump of application
bin/magento app:config:dump [<config-types>...]
config-types
Space-separated list of config types or omit to dump all [scopes, system, themes, i18n]
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
app:config:import
Import data from shared configuration files to appropriate data storage
bin/magento app:config:import
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
app:config:status
Checks if config propagation requires update
bin/magento app:config:status
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
braintree:migrate
Migrate stored cards from a Magento 1 database
bin/magento braintree:migrate [--host HOST] [--dbname DBNAME] [--username USERNAME] [--password PASSWORD]
--host
Hostname/IP. Port is optional
--dbname
Database name
--username
Database username. Must have read access
--password
Password
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cache:clean
Cleans cache type(s)
bin/magento cache:clean [--bootstrap BOOTSTRAP] [--] [<types>...]
types
Space-separated list of cache types or omit to apply to all cache types.
Default: []
Array
--bootstrap
add or override parameters of the bootstrap
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cache:disable
Disables cache type(s)
bin/magento cache:disable [--bootstrap BOOTSTRAP] [--] [<types>...]
types
Space-separated list of cache types or omit to apply to all cache types.
Default: []
Array
--bootstrap
add or override parameters of the bootstrap
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cache:enable
Enables cache type(s)
bin/magento cache:enable [--bootstrap BOOTSTRAP] [--] [<types>...]
types
Space-separated list of cache types or omit to apply to all cache types.
Default: []
Array
--bootstrap
add or override parameters of the bootstrap
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cache:flush
Flushes cache storage used by cache type(s)
bin/magento cache:flush [--bootstrap BOOTSTRAP] [--] [<types>...]
types
Space-separated list of cache types or omit to apply to all cache types.
Default: []
Array
--bootstrap
add or override parameters of the bootstrap
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cache:status
Checks cache status
bin/magento cache:status [--bootstrap BOOTSTRAP]
--bootstrap
add or override parameters of the bootstrap
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
catalog:images:resize
Creates resized product images
bin/magento catalog:images:resize [-a|--async] [--skip_hidden_images]
--async
, -a
Resize image in asynchronous mode
false
--skip_hidden_images
Do not process images marked as hidden from product page
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
catalog:product:attributes:cleanup
Removes unused product attributes.
bin/magento catalog:product:attributes:cleanup
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cms:wysiwyg:restrict
Set whether to enforce user HTML content validation or show a warning instead
bin/magento cms:wysiwyg:restrict <restrict>
restrict
y\n
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
config:sensitive:set
Set sensitive configuration values
bin/magento config:sensitive:set [-i|--interactive] [--scope [SCOPE]] [--scope-code [SCOPE-CODE]] [--] [<path> [<value>]]
path
Configuration path for example group/section/field_name
value
Configuration value
--interactive
, -i
Enable interactive mode to set all sensitive variables
false
--scope
Scope for configuration, if not set use ‘default’
default
--scope-code
Scope code for configuration, empty string by default
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
config:set
Change system configuration
bin/magento config:set [--scope SCOPE] [--scope-code SCOPE-CODE] [-e|--lock-env] [-c|--lock-config] [-l|--lock] [--] <path> <value>
path
Configuration path in format section/group/field_name
value
Configuration value
--scope
Configuration scope (default, website, or store)
default
--scope-code
Scope code (required only if scope is not ‘default’)
--lock-env
, -e
Lock value which prevents modification in the Admin (will be saved in app/etc/env.php)
false
--lock-config
, -c
Lock and share value with other installations, prevents modification in the Admin (will be saved in app/etc/config.php)
false
--lock
, -l
Deprecated, use the --lock-env option instead.
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
config:show
Shows configuration value for given path. If path is not specified, all saved values will be shown
bin/magento config:show [--scope [SCOPE]] [--scope-code [SCOPE-CODE]] [--] [<path>]
path
Configuration path, for example section_id/group_id/field_id
--scope
Scope for configuration, if not specified, then ‘default’ scope will be used
default
--scope-code
Scope code (required only if scope is not default
)
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cron:install
Generates and installs crontab for current user
bin/magento cron:install [-f|--force] [-d|--non-optional]
--force
, -f
Force install tasks
false
--non-optional
, -d
Install only the non-optional (default) tasks
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cron:remove
Removes tasks from crontab
bin/magento cron:remove
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
cron:run
Runs jobs by schedule
bin/magento cron:run [--group GROUP] [--exclude-group [EXCLUDE-GROUP]] [--bootstrap BOOTSTRAP]
--group
Run jobs only from specified group
--exclude-group
Exclude jobs from the specified group
[]
--bootstrap
Add or override parameters of the bootstrap
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
customer:hash:upgrade
Upgrade customer’s hash according to the latest algorithm
bin/magento customer:hash:upgrade
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
deploy:mode:set
Set application mode.
bin/magento deploy:mode:set [-s|--skip-compilation] [--] <mode>
mode
The application mode to set. Available options are “developer” or “production”
--skip-compilation
, -s
Skips the clearing and regeneration of static content (generated code, preprocessed CSS, and assets in pub/static/)
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
deploy:mode:show
Displays current application mode.
bin/magento deploy:mode:show
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:di:info
Provides information on Dependency Injection configuration for the Command.
bin/magento dev:di:info <class>
class
Class name
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:email:newsletter-compatibility-check
Scans newsletter templates for potential variable usage compatibility issues
bin/magento dev:email:newsletter-compatibility-check
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:email:override-compatibility-check
Scans email template overrides for potential variable usage compatibility issues
bin/magento dev:email:override-compatibility-check
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:profiler:disable
Disable the profiler.
bin/magento dev:profiler:disable
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:profiler:enable
Enable the profiler.
bin/magento dev:profiler:enable [<type>]
type
Profiler type
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:query-log:disable
Disable DB query logging
bin/magento dev:query-log:disable
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:query-log:enable
Enable DB query logging
bin/magento dev:query-log:enable [--include-all-queries [INCLUDE-ALL-QUERIES]] [--query-time-threshold [QUERY-TIME-THRESHOLD]] [--include-call-stack [INCLUDE-CALL-STACK]]
--include-all-queries
Log all queries. [true|false]
true
--query-time-threshold
Query time thresholds.
0.001
--include-call-stack
Include call stack. [true|false]
true
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:source-theme:deploy
Collects and publishes source files for theme.
bin/magento dev:source-theme:deploy [--type TYPE] [--locale LOCALE] [--area AREA] [--theme THEME] [--] [<file>...]
file
Files to pre-process (file should be specified without extension)
Default: css/styles-mcss/styles-l
Array
--type
Type of source files: [less]
less
--locale
Locale: [en_US]
en_US
--area
Area: [frontend|adminhtml]
frontend
--theme
Theme: [Vendor/theme]
Magento/luma
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:template-hints:disable
Disable frontend template hints. A cache flush might be required.
bin/magento dev:template-hints:disable
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:template-hints:enable
Enable frontend template hints. A cache flush might be required.
bin/magento dev:template-hints:enable
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:template-hints:status
Show frontend template hints status.
bin/magento dev:template-hints:status
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:tests:run
Runs tests
bin/magento dev:tests:run [-c|--arguments ARGUMENTS] [--] [<type>]
type
Type of test to run. Available types: all, unit, integration, integration-all, static, static-all, integrity, legacy, default
default
--arguments
, -c
Additional arguments for PHPUnit. Example: “-c’–filter=MyTest’” (no spaces)
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:urn-catalog:generate
Generates the catalog of URNs to *.xsd mappings for the IDE to highlight xml.
bin/magento dev:urn-catalog:generate [--ide IDE] [--] <path>
path
Path to file to output the catalog. For PhpStorm use .idea/misc.xml
--ide
Format in which catalog will be generated. Supported: [phpstorm, vscode]
phpstorm
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
dev:xml:convert
Converts XML file using XSL style sheets
bin/magento dev:xml:convert [-o|--overwrite] [--] <xml-file> <processor>
xml-file
Path to XML file that going to be transformed
processor
Path to XSL style sheet that going to be applied to XML file
--overwrite
, -o
Overwrite XML file
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
downloadable:domains:add
Add domains to the downloadable domains whitelist
bin/magento downloadable:domains:add [<domains>...]
domains
Domains name
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
downloadable:domains:remove
Remove domains from the downloadable domains whitelist
bin/magento downloadable:domains:remove [<domains>...]
domains
Domain names
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
downloadable:domains:show
Display downloadable domains whitelist
bin/magento downloadable:domains:show
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
encryption:payment-data:update
Re-encrypts encrypted credit card data with latest encryption cipher.
bin/magento encryption:payment-data:update
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
i18n:collect-phrases
Discovers phrases in the codebase
bin/magento i18n:collect-phrases [-o|--output OUTPUT] [-m|--magento] [--] [<directory>]
directory
Directory path to parse. Not needed if --magento flag is set
--output
, -o
Path (including filename) to an output file. With no file specified, defaults to stdout.
--magento
, -m
Use the --magento parameter to parse the current Magento codebase. Omit the parameter if a directory is specified.
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
i18n:pack
Saves language package
bin/magento i18n:pack [-m|--mode MODE] [-d|--allow-duplicates] [--] <source> <locale>
source
Path to source dictionary file with translations
locale
Target locale for dictionary, for example “de_DE”
--mode
, -m
Save mode for dictionary - “replace” - replace language pack by new one - “merge” - merge language packages, by default “replace”
replace
--allow-duplicates
, -d
Use the --allow-duplicates parameter to allow saving duplicates of translate. Otherwise omit the parameter.
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
i18n:uninstall
Uninstalls language packages
bin/magento i18n:uninstall [-b|--backup-code] [--] <package>...
package
Language package name
Default: []
Required
Array
--backup-code
, -b
Take code and configuration files backup (excluding temporary files)
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:info
Shows allowed Indexers
bin/magento indexer:info
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:reindex
Reindexes Data
bin/magento indexer:reindex [<index>...]
index
Space-separated list of index types or omit to apply to all indexes.
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:reset
Resets indexer status to invalid
bin/magento indexer:reset [<index>...]
index
Space-separated list of index types or omit to apply to all indexes.
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:set-dimensions-mode
Set Indexer Dimensions Mode
bin/magento indexer:set-dimensions-mode [<indexer> [<mode>]]
indexer
Indexer name [catalog_product_price]
mode
Indexer dimension modes catalog_product_price none,website,customer_group,website_and_customer_group
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:set-mode
Sets index mode type
bin/magento indexer:set-mode [<mode> [<index>...]]
mode
Indexer mode type [realtime|schedule]
index
Space-separated list of index types or omit to apply to all indexes.
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:show-dimensions-mode
Shows Indexer Dimension Mode
bin/magento indexer:show-dimensions-mode [<indexer>...]
indexer
Space-separated list of index types or omit to apply to all indexes (catalog_product_price)
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:show-mode
Shows Index Mode
bin/magento indexer:show-mode [<index>...]
index
Space-separated list of index types or omit to apply to all indexes.
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
indexer:status
Shows status of Indexer
bin/magento indexer:status [<index>...]
index
Space-separated list of index types or omit to apply to all indexes.
Default: []
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:adminuri
Displays the Magento Admin URI
bin/magento info:adminuri
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:backups:list
Prints list of available backup files
bin/magento info:backups:list
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:currency:list
Displays the list of available currencies
bin/magento info:currency:list
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:dependencies:show-framework
Shows number of dependencies on Magento framework
bin/magento info:dependencies:show-framework [-o|--output OUTPUT]
--output
, -o
Report filename
framework-dependencies.csv
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:dependencies:show-modules
Shows number of dependencies between modules
bin/magento info:dependencies:show-modules [-o|--output OUTPUT]
--output
, -o
Report filename
modules-dependencies.csv
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:dependencies:show-modules-circular
Shows number of circular dependencies between modules
bin/magento info:dependencies:show-modules-circular [-o|--output OUTPUT]
--output
, -o
Report filename
modules-circular-dependencies.csv
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:language:list
Displays the list of available language locales
bin/magento info:language:list
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
info:timezone:list
Displays the list of available timezones
bin/magento info:timezone:list
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
inventory:reservation:create-compensations
Create reservations by provided compensation arguments
bin/magento inventory:reservation:create-compensations [-r|--raw] [--] [<compensations>...]
compensations
List of compensation arguments in format “<ORDER_INCREMENT_ID>:<SKU>:<QUANTITY>:<STOCK-ID>”
Default: []
Array
--raw
, -r
Raw output
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
inventory:reservation:list-inconsistencies
Show all orders and products with salable quantity inconsistencies
bin/magento inventory:reservation:list-inconsistencies [-c|--complete-orders] [-i|--incomplete-orders] [-b|--bunch-size [BUNCH-SIZE]] [-r|--raw]
--complete-orders
, -c
Show only inconsistencies for complete orders
false
--incomplete-orders
, -i
Show only inconsistencies for incomplete orders
false
--bunch-size
, -b
Defines how many orders will be loaded at once
50
--raw
, -r
Raw output
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
inventory-geonames:import
Download and import geo names for source selection algorithm
bin/magento inventory-geonames:import <countries>...
countries
List of country codes to import
Default: []
Required
Array
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
maintenance:allow-ips
Sets maintenance mode exempt IPs
bin/magento maintenance:allow-ips [--none] [--add] [--magento-init-params MAGENTO-INIT-PARAMS] [--] [<ip>...]
ip
Allowed IP addresses
Default: []
Array
--none
Clear allowed IP addresses
false
--add
Add the IP address to existing list
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
maintenance:disable
Disables maintenance mode
bin/magento maintenance:disable [--ip IP] [--magento-init-params MAGENTO-INIT-PARAMS]
--ip
Allowed IP addresses (use ‘none’ to clear allowed IP list)
[]
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
maintenance:enable
Enables maintenance mode
bin/magento maintenance:enable [--ip IP] [--magento-init-params MAGENTO-INIT-PARAMS]
--ip
Allowed IP addresses (use ‘none’ to clear allowed IP list)
[]
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
maintenance:status
Displays maintenance mode status
bin/magento maintenance:status [--magento-init-params MAGENTO-INIT-PARAMS]
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
media-content:sync
Synchronize content with assets
bin/magento media-content:sync
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
media-gallery:sync
Synchronize media storage and media assets in the database
bin/magento media-gallery:sync
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
module:config:status
Checks the modules configuration in the ‘app/etc/config.php’ file and reports if they are up to date or not
bin/magento module:config:status
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
module:disable
Disables specified modules
bin/magento module:disable [-f|--force] [--all] [-c|--clear-static-content] [--magento-init-params MAGENTO-INIT-PARAMS] [--] [<module>...]
module
Name of the module
Default: []
Array
--force
, -f
Bypass dependencies check
false
--all
Disable all modules
false
--clear-static-content
, -c
Clear generated static view files. Necessary, if the module(s) have static view files
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
module:enable
Enables specified modules
bin/magento module:enable [-f|--force] [--all] [-c|--clear-static-content] [--magento-init-params MAGENTO-INIT-PARAMS] [--] [<module>...]
module
Name of the module
Default: []
Array
--force
, -f
Bypass dependencies check
false
--all
Enable all modules
false
--clear-static-content
, -c
Clear generated static view files. Necessary, if the module(s) have static view files
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
module:status
Displays status of modules
bin/magento module:status [--enabled] [--disabled] [--magento-init-params MAGENTO-INIT-PARAMS] [--] [<module-names>...]
module-names
Optional module name
Default: []
Array
--enabled
Print only enabled modules
false
--disabled
Print only disabled modules
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
module:uninstall
Uninstalls modules installed by composer
bin/magento module:uninstall [-r|--remove-data] [--backup-code] [--backup-media] [--backup-db] [--non-composer] [-c|--clear-static-content] [--magento-init-params MAGENTO-INIT-PARAMS] [--] <module>...
module
Name of the module
Default: []
Required
Array
--remove-data
, -r
Remove data installed by module(s)
false
--backup-code
Take code and configuration files backup (excluding temporary files)
false
--backup-media
Take media backup
false
--backup-db
Take complete database backup
false
--non-composer
All modules, that will be past here will be non composer based
false
--clear-static-content
, -c
Clear generated static view files. Necessary, if the module(s) have static view files
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
newrelic:create:deploy-marker
Check the deploy queue for entries and create an appropriate deploy marker.
bin/magento newrelic:create:deploy-marker <message> <change_log> [<user> [<revision>]]
message
Deploy Message?
change_log
Change Log?
user
Deployment User
revision
Revision
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
queue:consumers:list
List of MessageQueue consumers
bin/magento queue:consumers:list
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
queue:consumers:restart
Restart MessageQueue consumers
bin/magento queue:consumers:restart
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
queue:consumers:start
Start MessageQueue consumer
bin/magento queue:consumers:start [--max-messages MAX-MESSAGES] [--batch-size BATCH-SIZE] [--area-code AREA-CODE] [--single-thread] [--multi-process [MULTI-PROCESS]] [--pid-file-path PID-FILE-PATH] [--] <consumer>
consumer
The name of the consumer to be started.
--max-messages
The number of messages to be processed by the consumer before process termination. If not specified - terminate after processing all queued messages.
--batch-size
The number of messages per batch. Applicable for the batch consumer only.
--area-code
The preferred area (global, adminhtml, etc…) default is global.
--single-thread
This option prevents running multiple copies of one consumer simultaneously.
false
--multi-process
The number of processes per consumer.
--pid-file-path
The file path for saving PID (This option is deprecated, use --single-thread instead)
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
remote-storage:sync
Synchronize media files with remote storage.
bin/magento remote-storage:sync
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
saas:resync
Re-syncs feed data to SaaS service.
bin/magento saas:resync [--no-reindex] [--feed FEED] [--cleanup-feed]
--no-reindex
Run re-submission of feed data to SaaS service only. Does not re-index.
false
--feed
Feed name to fully re-sync to SaaS service. Available feeds:
--cleanup-feed
Force to cleanup feed indexer table before sync.
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
sampledata:deploy
Deploy sample data modules for composer-based Magento installations
bin/magento sampledata:deploy [--no-update]
--no-update
Update composer.json without executing composer update
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
sampledata:remove
Remove all sample data packages from composer.json
bin/magento sampledata:remove [--no-update]
--no-update
Update composer.json without executing composer update
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
sampledata:reset
Reset all sample data modules for re-installation
bin/magento sampledata:reset
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
security:recaptcha:disable-for-user-forgot-password
Disable reCAPTCHA for admin user forgot password form
bin/magento security:recaptcha:disable-for-user-forgot-password
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
security:recaptcha:disable-for-user-login
Disable reCAPTCHA for admin user login form
bin/magento security:recaptcha:disable-for-user-login
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
security:tfa:google:set-secret
Set the secret used for Google OTP generation.
bin/magento security:tfa:google:set-secret <user> <secret>
user
Username
secret
Secret
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
security:tfa:providers
List all available providers
bin/magento security:tfa:providers
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
security:tfa:reset
Reset configuration for one user
bin/magento security:tfa:reset <user> <provider>
user
Username
provider
Provider code
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:backup
Takes backup of Magento Application code base, media and database
bin/magento setup:backup [--code] [--media] [--db] [--magento-init-params MAGENTO-INIT-PARAMS]
--code
Take code and configuration files backup (excluding temporary files)
false
--media
Take media backup
false
--db
Take complete database backup
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:config:set
Creates or modifies the deployment configuration
bin/magento setup:config:set [--enable-debug-logging ENABLE-DEBUG-LOGGING] [--enable-syslog-logging ENABLE-SYSLOG-LOGGING] [--backend-frontname BACKEND-FRONTNAME] [--remote-storage-driver REMOTE-STORAGE-DRIVER] [--remote-storage-prefix REMOTE-STORAGE-PREFIX] [--remote-storage-endpoint REMOTE-STORAGE-ENDPOINT] [--remote-storage-bucket REMOTE-STORAGE-BUCKET] [--remote-storage-region REMOTE-STORAGE-REGION] [--remote-storage-key REMOTE-STORAGE-KEY] [--remote-storage-secret REMOTE-STORAGE-SECRET] [--remote-storage-path-style REMOTE-STORAGE-PATH-STYLE] [--id_salt ID_SALT] [--amqp-host AMQP-HOST] [--amqp-port AMQP-PORT] [--amqp-user AMQP-USER] [--amqp-password AMQP-PASSWORD] [--amqp-virtualhost AMQP-VIRTUALHOST] [--amqp-ssl AMQP-SSL] [--amqp-ssl-options AMQP-SSL-OPTIONS] [--config-async CONFIG-ASYNC] [--consumers-wait-for-messages CONSUMERS-WAIT-FOR-MESSAGES] [--queue-default-connection QUEUE-DEFAULT-CONNECTION] [--key KEY] [--db-host DB-HOST] [--db-name DB-NAME] [--db-user DB-USER] [--db-engine DB-ENGINE] [--db-password DB-PASSWORD] [--db-prefix DB-PREFIX] [--db-model DB-MODEL] [--db-init-statements DB-INIT-STATEMENTS] [-s|--skip-db-validation] [--http-cache-hosts HTTP-CACHE-HOSTS] [--db-ssl-key DB-SSL-KEY] [--db-ssl-cert DB-SSL-CERT] [--db-ssl-ca DB-SSL-CA] [--db-ssl-verify] [--session-save SESSION-SAVE] [--session-save-redis-host SESSION-SAVE-REDIS-HOST] [--session-save-redis-port SESSION-SAVE-REDIS-PORT] [--session-save-redis-password SESSION-SAVE-REDIS-PASSWORD] [--session-save-redis-timeout SESSION-SAVE-REDIS-TIMEOUT] [--session-save-redis-persistent-id SESSION-SAVE-REDIS-PERSISTENT-ID] [--session-save-redis-db SESSION-SAVE-REDIS-DB] [--session-save-redis-compression-threshold SESSION-SAVE-REDIS-COMPRESSION-THRESHOLD] [--session-save-redis-compression-lib SESSION-SAVE-REDIS-COMPRESSION-LIB] [--session-save-redis-log-level SESSION-SAVE-REDIS-LOG-LEVEL] [--session-save-redis-max-concurrency SESSION-SAVE-REDIS-MAX-CONCURRENCY] [--session-save-redis-break-after-frontend SESSION-SAVE-REDIS-BREAK-AFTER-FRONTEND] [--session-save-redis-break-after-adminhtml SESSION-SAVE-REDIS-BREAK-AFTER-ADMINHTML] [--session-save-redis-first-lifetime SESSION-SAVE-REDIS-FIRST-LIFETIME] [--session-save-redis-bot-first-lifetime SESSION-SAVE-REDIS-BOT-FIRST-LIFETIME] [--session-save-redis-bot-lifetime SESSION-SAVE-REDIS-BOT-LIFETIME] [--session-save-redis-disable-locking SESSION-SAVE-REDIS-DISABLE-LOCKING] [--session-save-redis-min-lifetime SESSION-SAVE-REDIS-MIN-LIFETIME] [--session-save-redis-max-lifetime SESSION-SAVE-REDIS-MAX-LIFETIME] [--session-save-redis-sentinel-master SESSION-SAVE-REDIS-SENTINEL-MASTER] [--session-save-redis-sentinel-servers SESSION-SAVE-REDIS-SENTINEL-SERVERS] [--session-save-redis-sentinel-verify-master SESSION-SAVE-REDIS-SENTINEL-VERIFY-MASTER] [--session-save-redis-sentinel-connect-retries SESSION-SAVE-REDIS-SENTINEL-CONNECT-RETRIES] [--cache-backend CACHE-BACKEND] [--cache-backend-redis-server CACHE-BACKEND-REDIS-SERVER] [--cache-backend-redis-db CACHE-BACKEND-REDIS-DB] [--cache-backend-redis-port CACHE-BACKEND-REDIS-PORT] [--cache-backend-redis-password CACHE-BACKEND-REDIS-PASSWORD] [--cache-backend-redis-compress-data CACHE-BACKEND-REDIS-COMPRESS-DATA] [--cache-backend-redis-compression-lib CACHE-BACKEND-REDIS-COMPRESSION-LIB] [--cache-id-prefix CACHE-ID-PREFIX] [--allow-parallel-generation] [--page-cache PAGE-CACHE] [--page-cache-redis-server PAGE-CACHE-REDIS-SERVER] [--page-cache-redis-db PAGE-CACHE-REDIS-DB] [--page-cache-redis-port PAGE-CACHE-REDIS-PORT] [--page-cache-redis-password PAGE-CACHE-REDIS-PASSWORD] [--page-cache-redis-compress-data PAGE-CACHE-REDIS-COMPRESS-DATA] [--page-cache-redis-compression-lib PAGE-CACHE-REDIS-COMPRESSION-LIB] [--page-cache-id-prefix PAGE-CACHE-ID-PREFIX] [--lock-provider LOCK-PROVIDER] [--lock-db-prefix LOCK-DB-PREFIX] [--lock-zookeeper-host LOCK-ZOOKEEPER-HOST] [--lock-zookeeper-path LOCK-ZOOKEEPER-PATH] [--lock-file-path LOCK-FILE-PATH] [--document-root-is-pub DOCUMENT-ROOT-IS-PUB] [--backpressure-logger BACKPRESSURE-LOGGER] [--backpressure-logger-redis-server BACKPRESSURE-LOGGER-REDIS-SERVER] [--backpressure-logger-redis-port BACKPRESSURE-LOGGER-REDIS-PORT] [--backpressure-logger-redis-timeout BACKPRESSURE-LOGGER-REDIS-TIMEOUT] [--backpressure-logger-redis-persistent BACKPRESSURE-LOGGER-REDIS-PERSISTENT] [--backpressure-logger-redis-db BACKPRESSURE-LOGGER-REDIS-DB] [--backpressure-logger-redis-password BACKPRESSURE-LOGGER-REDIS-PASSWORD] [--backpressure-logger-redis-user BACKPRESSURE-LOGGER-REDIS-USER] [--backpressure-logger-id-prefix BACKPRESSURE-LOGGER-ID-PREFIX] [--magento-init-params MAGENTO-INIT-PARAMS]
--enable-debug-logging
Enable debug logging
--enable-syslog-logging
Enable syslog logging
--backend-frontname
Backend frontname (will be autogenerated if missing)
--remote-storage-driver
Remote storage driver
--remote-storage-prefix
Remote storage prefix
--remote-storage-endpoint
Remote storage endpoint
--remote-storage-bucket
Remote storage bucket
--remote-storage-region
Remote storage region
--remote-storage-key
Remote storage access key
--remote-storage-secret
Remote storage secret key
--remote-storage-path-style
Remote storage path style
0
--id_salt
GraphQl Salt
--amqp-host
Amqp server host
--amqp-port
Amqp server port
5672
--amqp-user
Amqp server username
--amqp-password
Amqp server password
--amqp-virtualhost
Amqp virtualhost
/
--amqp-ssl
Amqp SSL
--amqp-ssl-options
Amqp SSL Options (JSON)
--config-async
Enable async Admin Config Save? 1 - Yes, 0 - No
--consumers-wait-for-messages
Should consumers wait for a message from the queue? 1 - Yes, 0 - No
--queue-default-connection
Message queues default connection. Can be ‘db’, ‘amqp’ or a custom queue system.The queue system must be installed and configured, otherwise messages won’t be processed correctly.
--key
Encryption key
--db-host
Database server host
--db-name
Database name
--db-user
Database server username
--db-engine
Database server engine
--db-password
Database server password
--db-prefix
Database table prefix
--db-model
Database type
--db-init-statements
Database initial set of commands
--skip-db-validation
, -s
If specified, then db connection validation will be skipped
false
--http-cache-hosts
http Cache hosts
--db-ssl-key
Full path of client key file in order to establish db connection through SSL
--db-ssl-cert
Full path of client certificate file in order to establish db connection through SSL
--db-ssl-ca
Full path of server certificate file in order to establish db connection through SSL
--db-ssl-verify
Verify server certification
false
--session-save
Session save handler
--session-save-redis-host
Fully qualified host name, IP address, or absolute path if using UNIX sockets
--session-save-redis-port
Redis server listen port
--session-save-redis-password
Redis server password
--session-save-redis-timeout
Connection timeout, in seconds
--session-save-redis-persistent-id
Unique string to enable persistent connections
--session-save-redis-db
Redis database number
--session-save-redis-compression-threshold
Redis compression threshold
--session-save-redis-compression-lib
Redis compression library. Values: gzip (default), lzf, lz4, snappy
--session-save-redis-log-level
Redis log level. Values: 0 (least verbose) to 7 (most verbose)
--session-save-redis-max-concurrency
Maximum number of processes that can wait for a lock on one session
--session-save-redis-break-after-frontend
Number of seconds to wait before trying to break a lock for frontend session
--session-save-redis-break-after-adminhtml
Number of seconds to wait before trying to break a lock for Admin session
--session-save-redis-first-lifetime
Lifetime, in seconds, of session for non-bots on the first write (use 0 to disable)
--session-save-redis-bot-first-lifetime
Lifetime, in seconds, of session for bots on the first write (use 0 to disable)
--session-save-redis-bot-lifetime
Lifetime of session for bots on subsequent writes (use 0 to disable)
--session-save-redis-disable-locking
Redis disable locking. Values: false (default), true
--session-save-redis-min-lifetime
Redis min session lifetime, in seconds
--session-save-redis-max-lifetime
Redis max session lifetime, in seconds
--session-save-redis-sentinel-master
Redis Sentinel master
--session-save-redis-sentinel-servers
Redis Sentinel servers, comma separated
--session-save-redis-sentinel-verify-master
Redis Sentinel verify master. Values: false (default), true
--session-save-redis-sentinel-connect-retries
Redis Sentinel connect retries.
--cache-backend
Default cache handler
--cache-backend-redis-server
Redis server
--cache-backend-redis-db
Database number for the cache
--cache-backend-redis-port
Redis server listen port
--cache-backend-redis-password
Redis server password
--cache-backend-redis-compress-data
Set to 0 to disable compression (default is 1, enabled)
--cache-backend-redis-compression-lib
Compression lib to use [snappy,lzf,l4z,zstd,gzip] (leave blank to determine automatically)
--cache-id-prefix
ID prefix for cache keys
--allow-parallel-generation
Allow generate cache in non-blocking way
false
--page-cache
Default cache handler
--page-cache-redis-server
Redis server
--page-cache-redis-db
Database number for the cache
--page-cache-redis-port
Redis server listen port
--page-cache-redis-password
Redis server password
--page-cache-redis-compress-data
Set to 1 to compress the full page cache (use 0 to disable)
--page-cache-redis-compression-lib
Compression library to use [snappy,lzf,l4z,zstd,gzip] (leave blank to determine automatically)
--page-cache-id-prefix
ID prefix for cache keys
--lock-provider
Lock provider name
--lock-db-prefix
Installation specific lock prefix to avoid lock conflicts
--lock-zookeeper-host
Host and port to connect to Zookeeper cluster. For example: 127.0.0.1:2181
--lock-zookeeper-path
The path where Zookeeper will save locks. The default path is: /magento/locks
--lock-file-path
The path where file locks will be saved.
--document-root-is-pub
Flag to show is Pub is on root, can be true or false only
--backpressure-logger
Backpressure logger handler
--backpressure-logger-redis-server
Redis server
--backpressure-logger-redis-port
Redis server listen port
--backpressure-logger-redis-timeout
Redis server timeout
--backpressure-logger-redis-persistent
Redis persistent
--backpressure-logger-redis-db
Redis db number
--backpressure-logger-redis-password
Redis server password
--backpressure-logger-redis-user
Redis server user
--backpressure-logger-id-prefix
ID prefix for keys
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:db-data:upgrade
Installs and upgrades data in the DB
bin/magento setup:db-data:upgrade [--magento-init-params MAGENTO-INIT-PARAMS]
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:db-declaration:generate-patch
Generate patch and put it in specific folder.
bin/magento setup:db-declaration:generate-patch [--revertable [REVERTABLE]] [--type [TYPE]] [--] <module> <patch>
module
Module name
patch
Patch name
--revertable
Check whether patch is revertable or not.
false
--type
Find out what type of patch should be generated. Available values: data
, schema
.
data
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:db-declaration:generate-whitelist
Generate whitelist of tables and columns that are allowed to be edited by declaration installer
bin/magento setup:db-declaration:generate-whitelist [--module-name [MODULE-NAME]]
--module-name
Name of the module where whitelist will be generated
all
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:db-schema:upgrade
Installs and upgrades the DB schema
bin/magento setup:db-schema:upgrade [--convert-old-scripts [CONVERT-OLD-SCRIPTS]] [--magento-init-params MAGENTO-INIT-PARAMS]
--convert-old-scripts
Allows to convert old scripts (InstallSchema, UpgradeSchema) to db_schema.xml format
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:db:status
Checks if DB schema or data requires upgrade
bin/magento setup:db:status [--magento-init-params MAGENTO-INIT-PARAMS]
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:di:compile
Generates DI configuration and all missing classes that can be auto-generated
bin/magento setup:di:compile
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:install
Installs the Magento application
bin/magento setup:install [--enable-debug-logging ENABLE-DEBUG-LOGGING] [--enable-syslog-logging ENABLE-SYSLOG-LOGGING] [--backend-frontname BACKEND-FRONTNAME] [--remote-storage-driver REMOTE-STORAGE-DRIVER] [--remote-storage-prefix REMOTE-STORAGE-PREFIX] [--remote-storage-endpoint REMOTE-STORAGE-ENDPOINT] [--remote-storage-bucket REMOTE-STORAGE-BUCKET] [--remote-storage-region REMOTE-STORAGE-REGION] [--remote-storage-key REMOTE-STORAGE-KEY] [--remote-storage-secret REMOTE-STORAGE-SECRET] [--remote-storage-path-style REMOTE-STORAGE-PATH-STYLE] [--id_salt ID_SALT] [--amqp-host AMQP-HOST] [--amqp-port AMQP-PORT] [--amqp-user AMQP-USER] [--amqp-password AMQP-PASSWORD] [--amqp-virtualhost AMQP-VIRTUALHOST] [--amqp-ssl AMQP-SSL] [--amqp-ssl-options AMQP-SSL-OPTIONS] [--config-async CONFIG-ASYNC] [--consumers-wait-for-messages CONSUMERS-WAIT-FOR-MESSAGES] [--queue-default-connection QUEUE-DEFAULT-CONNECTION] [--key KEY] [--db-host DB-HOST] [--db-name DB-NAME] [--db-user DB-USER] [--db-engine DB-ENGINE] [--db-password DB-PASSWORD] [--db-prefix DB-PREFIX] [--db-model DB-MODEL] [--db-init-statements DB-INIT-STATEMENTS] [-s|--skip-db-validation] [--http-cache-hosts HTTP-CACHE-HOSTS] [--db-ssl-key DB-SSL-KEY] [--db-ssl-cert DB-SSL-CERT] [--db-ssl-ca DB-SSL-CA] [--db-ssl-verify] [--session-save SESSION-SAVE] [--session-save-redis-host SESSION-SAVE-REDIS-HOST] [--session-save-redis-port SESSION-SAVE-REDIS-PORT] [--session-save-redis-password SESSION-SAVE-REDIS-PASSWORD] [--session-save-redis-timeout SESSION-SAVE-REDIS-TIMEOUT] [--session-save-redis-persistent-id SESSION-SAVE-REDIS-PERSISTENT-ID] [--session-save-redis-db SESSION-SAVE-REDIS-DB] [--session-save-redis-compression-threshold SESSION-SAVE-REDIS-COMPRESSION-THRESHOLD] [--session-save-redis-compression-lib SESSION-SAVE-REDIS-COMPRESSION-LIB] [--session-save-redis-log-level SESSION-SAVE-REDIS-LOG-LEVEL] [--session-save-redis-max-concurrency SESSION-SAVE-REDIS-MAX-CONCURRENCY] [--session-save-redis-break-after-frontend SESSION-SAVE-REDIS-BREAK-AFTER-FRONTEND] [--session-save-redis-break-after-adminhtml SESSION-SAVE-REDIS-BREAK-AFTER-ADMINHTML] [--session-save-redis-first-lifetime SESSION-SAVE-REDIS-FIRST-LIFETIME] [--session-save-redis-bot-first-lifetime SESSION-SAVE-REDIS-BOT-FIRST-LIFETIME] [--session-save-redis-bot-lifetime SESSION-SAVE-REDIS-BOT-LIFETIME] [--session-save-redis-disable-locking SESSION-SAVE-REDIS-DISABLE-LOCKING] [--session-save-redis-min-lifetime SESSION-SAVE-REDIS-MIN-LIFETIME] [--session-save-redis-max-lifetime SESSION-SAVE-REDIS-MAX-LIFETIME] [--session-save-redis-sentinel-master SESSION-SAVE-REDIS-SENTINEL-MASTER] [--session-save-redis-sentinel-servers SESSION-SAVE-REDIS-SENTINEL-SERVERS] [--session-save-redis-sentinel-verify-master SESSION-SAVE-REDIS-SENTINEL-VERIFY-MASTER] [--session-save-redis-sentinel-connect-retries SESSION-SAVE-REDIS-SENTINEL-CONNECT-RETRIES] [--cache-backend CACHE-BACKEND] [--cache-backend-redis-server CACHE-BACKEND-REDIS-SERVER] [--cache-backend-redis-db CACHE-BACKEND-REDIS-DB] [--cache-backend-redis-port CACHE-BACKEND-REDIS-PORT] [--cache-backend-redis-password CACHE-BACKEND-REDIS-PASSWORD] [--cache-backend-redis-compress-data CACHE-BACKEND-REDIS-COMPRESS-DATA] [--cache-backend-redis-compression-lib CACHE-BACKEND-REDIS-COMPRESSION-LIB] [--cache-id-prefix CACHE-ID-PREFIX] [--allow-parallel-generation] [--page-cache PAGE-CACHE] [--page-cache-redis-server PAGE-CACHE-REDIS-SERVER] [--page-cache-redis-db PAGE-CACHE-REDIS-DB] [--page-cache-redis-port PAGE-CACHE-REDIS-PORT] [--page-cache-redis-password PAGE-CACHE-REDIS-PASSWORD] [--page-cache-redis-compress-data PAGE-CACHE-REDIS-COMPRESS-DATA] [--page-cache-redis-compression-lib PAGE-CACHE-REDIS-COMPRESSION-LIB] [--page-cache-id-prefix PAGE-CACHE-ID-PREFIX] [--lock-provider LOCK-PROVIDER] [--lock-db-prefix LOCK-DB-PREFIX] [--lock-zookeeper-host LOCK-ZOOKEEPER-HOST] [--lock-zookeeper-path LOCK-ZOOKEEPER-PATH] [--lock-file-path LOCK-FILE-PATH] [--document-root-is-pub DOCUMENT-ROOT-IS-PUB] [--backpressure-logger BACKPRESSURE-LOGGER] [--backpressure-logger-redis-server BACKPRESSURE-LOGGER-REDIS-SERVER] [--backpressure-logger-redis-port BACKPRESSURE-LOGGER-REDIS-PORT] [--backpressure-logger-redis-timeout BACKPRESSURE-LOGGER-REDIS-TIMEOUT] [--backpressure-logger-redis-persistent BACKPRESSURE-LOGGER-REDIS-PERSISTENT] [--backpressure-logger-redis-db BACKPRESSURE-LOGGER-REDIS-DB] [--backpressure-logger-redis-password BACKPRESSURE-LOGGER-REDIS-PASSWORD] [--backpressure-logger-redis-user BACKPRESSURE-LOGGER-REDIS-USER] [--backpressure-logger-id-prefix BACKPRESSURE-LOGGER-ID-PREFIX] [--base-url BASE-URL] [--language LANGUAGE] [--timezone TIMEZONE] [--currency CURRENCY] [--use-rewrites USE-REWRITES] [--use-secure USE-SECURE] [--base-url-secure BASE-URL-SECURE] [--use-secure-admin USE-SECURE-ADMIN] [--admin-use-security-key ADMIN-USE-SECURITY-KEY] [--admin-user [ADMIN-USER]] [--admin-password [ADMIN-PASSWORD]] [--admin-email [ADMIN-EMAIL]] [--admin-firstname [ADMIN-FIRSTNAME]] [--admin-lastname [ADMIN-LASTNAME]] [--search-engine SEARCH-ENGINE] [--elasticsearch-host ELASTICSEARCH-HOST] [--elasticsearch-port ELASTICSEARCH-PORT] [--elasticsearch-enable-auth ELASTICSEARCH-ENABLE-AUTH] [--elasticsearch-username ELASTICSEARCH-USERNAME] [--elasticsearch-password ELASTICSEARCH-PASSWORD] [--elasticsearch-index-prefix ELASTICSEARCH-INDEX-PREFIX] [--elasticsearch-timeout ELASTICSEARCH-TIMEOUT] [--opensearch-host OPENSEARCH-HOST] [--opensearch-port OPENSEARCH-PORT] [--opensearch-enable-auth OPENSEARCH-ENABLE-AUTH] [--opensearch-username OPENSEARCH-USERNAME] [--opensearch-password OPENSEARCH-PASSWORD] [--opensearch-index-prefix OPENSEARCH-INDEX-PREFIX] [--opensearch-timeout OPENSEARCH-TIMEOUT] [--cleanup-database] [--sales-order-increment-prefix SALES-ORDER-INCREMENT-PREFIX] [--use-sample-data] [--enable-modules [ENABLE-MODULES]] [--disable-modules [DISABLE-MODULES]] [--convert-old-scripts [CONVERT-OLD-SCRIPTS]] [-i|--interactive] [--safe-mode [SAFE-MODE]] [--data-restore [DATA-RESTORE]] [--dry-run [DRY-RUN]] [--magento-init-params MAGENTO-INIT-PARAMS]
--enable-debug-logging
Enable debug logging
--enable-syslog-logging
Enable syslog logging
--backend-frontname
Backend frontname (will be autogenerated if missing)
--remote-storage-driver
Remote storage driver
--remote-storage-prefix
Remote storage prefix
--remote-storage-endpoint
Remote storage endpoint
--remote-storage-bucket
Remote storage bucket
--remote-storage-region
Remote storage region
--remote-storage-key
Remote storage access key
--remote-storage-secret
Remote storage secret key
--remote-storage-path-style
Remote storage path style
0
--id_salt
GraphQl Salt
--amqp-host
Amqp server host
--amqp-port
Amqp server port
5672
--amqp-user
Amqp server username
--amqp-password
Amqp server password
--amqp-virtualhost
Amqp virtualhost
/
--amqp-ssl
Amqp SSL
--amqp-ssl-options
Amqp SSL Options (JSON)
--config-async
Enable async Admin Config Save? 1 - Yes, 0 - No
--consumers-wait-for-messages
Should consumers wait for a message from the queue? 1 - Yes, 0 - No
--queue-default-connection
Message queues default connection. Can be ‘db’, ‘amqp’ or a custom queue system.The queue system must be installed and configured, otherwise messages won’t be processed correctly.
--key
Encryption key
--db-host
Database server host
--db-name
Database name
--db-user
Database server username
--db-engine
Database server engine
--db-password
Database server password
--db-prefix
Database table prefix
--db-model
Database type
--db-init-statements
Database initial set of commands
--skip-db-validation
, -s
If specified, then db connection validation will be skipped
false
--http-cache-hosts
http Cache hosts
--db-ssl-key
Full path of client key file in order to establish db connection through SSL
--db-ssl-cert
Full path of client certificate file in order to establish db connection through SSL
--db-ssl-ca
Full path of server certificate file in order to establish db connection through SSL
--db-ssl-verify
Verify server certification
false
--session-save
Session save handler
--session-save-redis-host
Fully qualified host name, IP address, or absolute path if using UNIX sockets
--session-save-redis-port
Redis server listen port
--session-save-redis-password
Redis server password
--session-save-redis-timeout
Connection timeout, in seconds
--session-save-redis-persistent-id
Unique string to enable persistent connections
--session-save-redis-db
Redis database number
--session-save-redis-compression-threshold
Redis compression threshold
--session-save-redis-compression-lib
Redis compression library. Values: gzip (default), lzf, lz4, snappy
--session-save-redis-log-level
Redis log level. Values: 0 (least verbose) to 7 (most verbose)
--session-save-redis-max-concurrency
Maximum number of processes that can wait for a lock on one session
--session-save-redis-break-after-frontend
Number of seconds to wait before trying to break a lock for frontend session
--session-save-redis-break-after-adminhtml
Number of seconds to wait before trying to break a lock for Admin session
--session-save-redis-first-lifetime
Lifetime, in seconds, of session for non-bots on the first write (use 0 to disable)
--session-save-redis-bot-first-lifetime
Lifetime, in seconds, of session for bots on the first write (use 0 to disable)
--session-save-redis-bot-lifetime
Lifetime of session for bots on subsequent writes (use 0 to disable)
--session-save-redis-disable-locking
Redis disable locking. Values: false (default), true
--session-save-redis-min-lifetime
Redis min session lifetime, in seconds
--session-save-redis-max-lifetime
Redis max session lifetime, in seconds
--session-save-redis-sentinel-master
Redis Sentinel master
--session-save-redis-sentinel-servers
Redis Sentinel servers, comma separated
--session-save-redis-sentinel-verify-master
Redis Sentinel verify master. Values: false (default), true
--session-save-redis-sentinel-connect-retries
Redis Sentinel connect retries.
--cache-backend
Default cache handler
--cache-backend-redis-server
Redis server
--cache-backend-redis-db
Database number for the cache
--cache-backend-redis-port
Redis server listen port
--cache-backend-redis-password
Redis server password
--cache-backend-redis-compress-data
Set to 0 to disable compression (default is 1, enabled)
--cache-backend-redis-compression-lib
Compression lib to use [snappy,lzf,l4z,zstd,gzip] (leave blank to determine automatically)
--cache-id-prefix
ID prefix for cache keys
--allow-parallel-generation
Allow generate cache in non-blocking way
false
--page-cache
Default cache handler
--page-cache-redis-server
Redis server
--page-cache-redis-db
Database number for the cache
--page-cache-redis-port
Redis server listen port
--page-cache-redis-password
Redis server password
--page-cache-redis-compress-data
Set to 1 to compress the full page cache (use 0 to disable)
--page-cache-redis-compression-lib
Compression library to use [snappy,lzf,l4z,zstd,gzip] (leave blank to determine automatically)
--page-cache-id-prefix
ID prefix for cache keys
--lock-provider
Lock provider name
--lock-db-prefix
Installation specific lock prefix to avoid lock conflicts
--lock-zookeeper-host
Host and port to connect to Zookeeper cluster. For example: 127.0.0.1:2181
--lock-zookeeper-path
The path where Zookeeper will save locks. The default path is: /magento/locks
--lock-file-path
The path where file locks will be saved.
--document-root-is-pub
Flag to show is Pub is on root, can be true or false only
--backpressure-logger
Backpressure logger handler
--backpressure-logger-redis-server
Redis server
--backpressure-logger-redis-port
Redis server listen port
--backpressure-logger-redis-timeout
Redis server timeout
--backpressure-logger-redis-persistent
Redis persistent
--backpressure-logger-redis-db
Redis db number
--backpressure-logger-redis-password
Redis server password
--backpressure-logger-redis-user
Redis server user
--backpressure-logger-id-prefix
ID prefix for keys
--base-url
URL the store is supposed to be available at. Deprecated, use config:set with path web/unsecure/base_url
--language
Default language code. Deprecated, use config:set with path general/locale/code
--timezone
Default time zone code. Deprecated, use config:set with path general/locale/timezone
--currency
Default currency code. Deprecated, use config:set with path currency/options/base, currency/options/default and currency/options/allow
--use-rewrites
Use rewrites. Deprecated, use config:set with path web/seo/use_rewrites
--use-secure
Use secure URLs. Enable this option only if SSL is available. Deprecated, use config:set with path web/secure/use_in_frontend
--base-url-secure
Base URL for SSL connection. Deprecated, use config:set with path web/secure/base_url
--use-secure-admin
Run admin interface with SSL. Deprecated, use config:set with path web/secure/use_in_adminhtml
--admin-use-security-key
Whether to use a “security key” feature in Magento Admin URLs and forms. Deprecated, use config:set with path admin/security/use_form_key
--admin-user
Admin user
--admin-password
Admin password
--admin-email
Admin email
--admin-firstname
Admin first name
--admin-lastname
Admin last name
--search-engine
Search engine. Values: elasticsearch7, elasticsearch8, opensearch
--elasticsearch-host
Elasticsearch server host.
--elasticsearch-port
Elasticsearch server port.
--elasticsearch-enable-auth
Set to 1 to enable authentication. (default is 0, disabled)
--elasticsearch-username
Elasticsearch username. Only applicable if HTTP auth is enabled
--elasticsearch-password
Elasticsearch password. Only applicable if HTTP auth is enabled
--elasticsearch-index-prefix
Elasticsearch index prefix.
--elasticsearch-timeout
Elasticsearch server timeout.
--opensearch-host
OpenSearch server host.
--opensearch-port
OpenSearch server port.
--opensearch-enable-auth
Set to 1 to enable authentication. (default is 0, disabled)
--opensearch-username
OpenSearch username. Only applicable if HTTP auth is enabled
--opensearch-password
OpenSearch password. Only applicable if HTTP auth is enabled
--opensearch-index-prefix
OpenSearch index prefix.
--opensearch-timeout
OpenSearch server timeout.
--cleanup-database
Cleanup the database before installation
false
--sales-order-increment-prefix
Sales order number prefix
--use-sample-data
Use sample data
false
--enable-modules
List of comma-separated module names. That must be included during installation. Available magic param “all”.
--disable-modules
List of comma-separated module names. That must be avoided during installation. Available magic param “all”.
--convert-old-scripts
Allows to convert old scripts (InstallSchema, UpgradeSchema) to db_schema.xml format
false
--interactive
, -i
Interactive Magento installation
false
--safe-mode
Safe installation of Magento with dumps on destructive operations, like column removal
--data-restore
Restore removed data from dumps
--dry-run
Magento Installation will be run in dry-run mode
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:performance:generate-fixtures
Generates fixtures
bin/magento setup:performance:generate-fixtures [-s|--skip-reindex] [--] <profile>
profile
Path to profile configuration file
--skip-reindex
, -s
Skip reindex
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:rollback
Rolls back Magento Application codebase, media and database
bin/magento setup:rollback [-c|--code-file CODE-FILE] [-m|--media-file MEDIA-FILE] [-d|--db-file DB-FILE] [--magento-init-params MAGENTO-INIT-PARAMS]
--code-file
, -c
Basename of the code backup file in var/backups
--media-file
, -m
Basename of the media backup file in var/backups
--db-file
, -d
Basename of the db backup file in var/backups
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:static-content:deploy
Deploys static view files
bin/magento setup:static-content:deploy [-f|--force] [-s|--strategy [STRATEGY]] [-a|--area [AREA]] [--exclude-area [EXCLUDE-AREA]] [-t|--theme [THEME]] [--exclude-theme [EXCLUDE-THEME]] [-l|--language [LANGUAGE]] [--exclude-language [EXCLUDE-LANGUAGE]] [-j|--jobs [JOBS]] [--max-execution-time [MAX-EXECUTION-TIME]] [--symlink-locale] [--content-version CONTENT-VERSION] [--refresh-content-version-only] [--no-javascript] [--no-js-bundle] [--no-css] [--no-less] [--no-images] [--no-fonts] [--no-html] [--no-misc] [--no-html-minify] [--no-parent] [--] [<languages>...]
languages
Space-separated list of ISO-639 language codes for which to output static view files.
Default: []
Array
--force
, -f
Deploy files in any mode.
false
--strategy
, -s
Deploy files using specified strategy.
quick
--area
, -a
Generate files only for the specified areas.
all
--exclude-area
Do not generate files for the specified areas.
none
--theme
, -t
Generate static view files for only the specified themes.
all
--exclude-theme
Do not generate files for the specified themes.
none
--language
, -l
Generate files only for the specified languages.
all
--exclude-language
Do not generate files for the specified languages.
none
--jobs
, -j
Enable parallel processing using the specified number of jobs.
0
--max-execution-time
The maximum expected execution time of deployment static process (in seconds).
900
--symlink-locale
Create symlinks for the files of those locales, which are passed for deployment, but have no customizations.
false
--content-version
Custom version of static content can be used if running deployment on multiple nodes to ensure that static content version is identical and caching works properly.
--refresh-content-version-only
Refreshing the version of static content only can be used to refresh static content in browser cache and CDN cache.
false
--no-javascript
Do not deploy JavaScript files.
false
--no-js-bundle
Do not deploy JavaScript bundle files.
false
--no-css
Do not deploy CSS files.
false
--no-less
Do not deploy LESS files.
false
--no-images
Do not deploy images.
false
--no-fonts
Do not deploy font files.
false
--no-html
Do not deploy HTML files.
false
--no-misc
Do not deploy files of other types (.md, .jbf, .csv, etc.).
false
--no-html-minify
Do not minify HTML files.
false
--no-parent
Do not compile parent themes. Supported only in quick and standard strategies.
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:store-config:set
Installs the store configuration. Deprecated since 2.2.0. Use config:set instead
bin/magento setup:store-config:set [--base-url BASE-URL] [--language LANGUAGE] [--timezone TIMEZONE] [--currency CURRENCY] [--use-rewrites USE-REWRITES] [--use-secure USE-SECURE] [--base-url-secure BASE-URL-SECURE] [--use-secure-admin USE-SECURE-ADMIN] [--admin-use-security-key ADMIN-USE-SECURITY-KEY] [--magento-init-params MAGENTO-INIT-PARAMS]
--base-url
URL the store is supposed to be available at. Deprecated, use config:set with path web/unsecure/base_url
--language
Default language code. Deprecated, use config:set with path general/locale/code
--timezone
Default time zone code. Deprecated, use config:set with path general/locale/timezone
--currency
Default currency code. Deprecated, use config:set with path currency/options/base, currency/options/default and currency/options/allow
--use-rewrites
Use rewrites. Deprecated, use config:set with path web/seo/use_rewrites
--use-secure
Use secure URLs. Enable this option only if SSL is available. Deprecated, use config:set with path web/secure/use_in_frontend
--base-url-secure
Base URL for SSL connection. Deprecated, use config:set with path web/secure/base_url
--use-secure-admin
Run admin interface with SSL. Deprecated, use config:set with path web/secure/use_in_adminhtml
--admin-use-security-key
Whether to use a “security key” feature in Magento Admin URLs and forms. Deprecated, use config:set with path admin/security/use_form_key
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:uninstall
Uninstalls the Magento application
bin/magento setup:uninstall [--magento-init-params MAGENTO-INIT-PARAMS]
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
setup:upgrade
Upgrades the Magento application, DB data, and schema
bin/magento setup:upgrade [--keep-generated] [--convert-old-scripts [CONVERT-OLD-SCRIPTS]] [--safe-mode [SAFE-MODE]] [--data-restore [DATA-RESTORE]] [--dry-run [DRY-RUN]] [--magento-init-params MAGENTO-INIT-PARAMS]
--keep-generated
Prevents generated files from being deleted. We discourage using this option except when deploying to production. Consult your system integrator or administrator for more information.
false
--convert-old-scripts
Allows to convert old scripts (InstallSchema, UpgradeSchema) to db_schema.xml format
false
--safe-mode
Safe installation of Magento with dumps on destructive operations, like column removal
--data-restore
Restore removed data from dumps
--dry-run
Magento Installation will be run in dry-run mode
false
--magento-init-params
Add to any command to customize Magento initialization parameters For example: “MAGE_MODE=developer&MAGE_DIRS[base][path]=/var/www/example.com&MAGE_DIRS[cache][path]=/var/tmp/cache”
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
store:list
Displays the list of stores
bin/magento store:list
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
store:website:list
Displays the list of websites
bin/magento store:website:list
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
theme:uninstall
Uninstalls theme
bin/magento theme:uninstall [--backup-code] [-c|--clear-static-content] [--] <theme>...
theme
Path of the theme. Theme path should be specified as full path which is area/vendor/name. For example, frontend/Magento/blank
Default: []
Required
Array
--backup-code
Take code backup (excluding temporary files)
false
--clear-static-content
, -c
Clear generated static view files.
false
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false
varnish:vcl:generate
Generates Varnish VCL and echos it to the command line
bin/magento varnish:vcl:generate [--access-list ACCESS-LIST] [--backend-host BACKEND-HOST] [--backend-port BACKEND-PORT] [--export-version EXPORT-VERSION] [--grace-period GRACE-PERIOD] [--output-file OUTPUT-FILE]
--access-list
IPs access list that can purge Varnish
localhost
--backend-host
Host of the web backend
localhost
--backend-port
Port of the web backend
8080
--export-version
The version of Varnish file
4
--grace-period
Grace period in seconds
300
--output-file
Path to the file to write vcl
--help
, -h
Display help for the given command. When no command is given display help for the <info>list</info> command
false
--quiet
, -q
Do not output any message
false
--verbose
, -v|-vv|-vvv
Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
false
--version
, -V
Display this application version
false
--ansi
Force (or disable --no-ansi) ANSI output
--no-ansi
Negate the “–ansi” option
false
--no-interaction
, -n
Do not ask any interactive question
false