Skip to content
Sri Lanka · Colombo · GlobalMon–Fri, 09:00–18:00 IST
eCommerce 1 min read

Magento 2 Modes Explained | Developer & Production Setup

Display the current mode in Magento 2 using CLI/Command Promptbin/magento deploy:mode:showThis will result in something like belowCurrent application mode: {mode}.Set/Change mode in Magento 2 using CLI/Command Promptbin/magento deploy:mode:set {mode}{mode} can be either default, developer, or produc...

A
Written by
Admin
18 views
Share:

Display the current mode in Magento 2 using CLI/Command Prompt

bin/magento deploy:mode:show

This will result in something like below

Current application mode: {mode}.

Set/Change mode in Magento 2 using CLI/Command Prompt

bin/magento deploy:mode:set {mode}

{mode} can be either default, developer, or production. If changing to developer mode, out put will be like below

 

Share:

Related Articles

Comments (0)

Log in or sign up to leave a comment.

No comments yet. Be the first to share your thoughts!