අන්තර්ගතය වෙත යන්න
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...

Amila Rajapaksha
Written by
Amila Rajapaksha
CEO / Managing Director, Mobiz International (Pvt) Ltd

Amila Rajapaksha is the CEO and Managing Director of Mobiz International (Pvt) Ltd, a web design and development company based in Gampaha, Sri Lanka. Since 2010 he has helped businesses across Sri Lanka and overseas launch fast, search-friendly websites and online stores — working hands-on with WordPress, Magento and custom Laravel builds, and the SEO that makes them rank.

32 views 265 articles
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!