

Exceptions:
.htaccess files are not removedpub/static contains a file that specifies the version of static content; this file is not removed
bin/magento deploy:mode:show
Current application mode: {mode}. (Note: Environment variables may override this value.)

Command usage:
bin/magento deploy:mode:set {mode} [-s|--skip-compilation]
{mode} is required; it can be either default, developer, or production
--skip-compilation is an optional parameter you can use to skip code compilation when you change to production mode.
Change to production mode bin/magento deploy:mode:set production
Change to developer modeWhen you change from production to developer mode, you should clear
generated classes and Object Manager entities like proxies to prevent
unexpected errors. After doing so, you can change modes. Use the
following steps:
