i just did an fresh install (web installer) of magento 2.0.3. When trying to switch to developer mode by using

magento deploy:mode:set developer


is returning the following failure:

There are no commands defined in the "deploy:mode" namespace.

Any ideas?

3 Answers 3


Check file permissions for the Magento code for the user under which you are executing this command.

  • Thanks for the advice... sudo <magento_user> php deploy:mode:set developer solved the Problem!
    – Lars S-F
    Apr 7, 2016 at 9:36

use below command

php bin/magento deploy:mode:set developer

May be helpful to you


For me there was an error in my of my custom modules' constructor. For anyone else experiencing this, look through your version control logs about update's you've done recently that may have broken this.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.