Common commands
The following summarizes some of the available commands.
To display a complete list of commands:
bin/magento list
Example help command:
bin/magento help <command>
bin/magento help cache:enable
Commands are shown in summary form only; for more information about a command, click the link in the Command column.
Command
Description
Manages the cache
Manages the indexers
Runs Commerce cron jobs
Compiles all non-existent proxies and factories; and pre-compiles class definitions, inheritance information, and plug-in definitions for one store and website.
Module dependencies, circular dependencies, and Commerce framework dependencies.
Creates a translation dictionary or a translation package
Deploys static view files
Creates CSS from LESS
Runs automated tests
Update your layout XML files to match the new Extensible Stylesheet Language Transformations (XSLT) stylesheet
Generate data to use for performance testing.
Installs optional sample data after you install the Commerce application.
For more details about sample data, see Optional sample data.
For more details about sample data, see Optional sample data.
Manages backend configurations
Creates/edits/unlocks admin users.
Enables/disables developer template hints.
Common arguments
The following arguments are common to all commands. These commands can be run either before or after the Commerce software is installed:
Long version
Short version
Meaning
--help
-h
Get help for any command. For example,
./magento help setup:install
or ./magento help setup:config:set
.--quiet
-q
Quiet mode; no output.
--no-interaction
-n
No interactive questions.
--verbose=1,2,3
-v, -vv, -vvv
Verbosity level. For example,
--verbose=3
or -vvv
displays debug verbosity, which is the most verbose output. Default is --verbose=1
or -v
.--version
-V
Display this application version
--ansi
n/a
Force ANSI output
--no-ansi
n/a
Disable ANSI output
recommendation-more-help
386822bd-e32c-40a8-81c2-ed90ad1e198c