MageSmith
deploy · Magento 2.4.9 (extracted from source · curated examples)

deploy:mode:set

Sets the application mode: developer, default, or production.

Synopsis

bin/magento deploy:mode:set

Examples

Switch to developer mode — verbose errors, no caching of generated code.

bin/magento deploy:mode:set developer

Switch to production mode — runs di:compile + static-content:deploy.

bin/magento deploy:mode:set production

See also

Related commands in deploy

Other deploy:* commands you might want next.

Every Magento dev tool, in one hosted workspace.

Free to sign up. Nothing to install. Drafts, audits, and projects saved across every tool.