How do I disable all non-core modules in Magento 2? (in 1 step) Unicorn Meta Zoo #1: Why another podcast? Announcing the arrival of Valued Associate #679: Cesar ManaraDisable modules via databaseMake extension install after core modulesIs there any way to disable all extensions in magentoWhat Default Modules I can disable?Module disabled in app/etc/modules is still showing in admin in Disable Modules OutputGood practice regarding core tables relations with modules tablesHow to translate core Magento modules and create a CSV translation file per module?Completely Disable Module - Magento 1.9Disable all custom and Third Party Module in single CommandInstall via cli but exclude some core modules

Raising a bilingual kid. When should we introduce the majority language?

How do I check if a string is entirely made of the same substring?

Split coins into combinations of different denominations

Align column where each cell has two decimals with siunitx

Why is this method for solving linear equations systems using determinants works?

My admission is revoked after accepting the admission offer

What is this word supposed to be?

Has a Nobel Peace laureate ever been accused of war crimes?

Multiple options vs single option UI

Could moose/elk survive in the Amazon forest?

How would I use different systems of magic when they are capable of the same effects?

What is /etc/mtab in Linux?

With indentation set to `0em`, when using a line break, there is still an indentation of a size of a space

How to find the right literary agent in the USA?

What do you call the part of a novel that is not dialog?

Israeli soda type drink

Protagonist's race is hidden - should I reveal it?

Is it acceptable to use working hours to read general interest books?

Why does the Cisco show run command not show the full version, while the show version command does?

Justification for leaving new position after a short time

What's parked in Mil Moscow helicopter plant?

Does Feeblemind produce an ongoing magical effect that can be dispelled?

Can I criticise the more senior developers around me for not writing clean code?

As an international instructor, should I openly talk about my accent?



How do I disable all non-core modules in Magento 2? (in 1 step)



Unicorn Meta Zoo #1: Why another podcast?
Announcing the arrival of Valued Associate #679: Cesar ManaraDisable modules via databaseMake extension install after core modulesIs there any way to disable all extensions in magentoWhat Default Modules I can disable?Module disabled in app/etc/modules is still showing in admin in Disable Modules OutputGood practice regarding core tables relations with modules tablesHow to translate core Magento modules and create a CSV translation file per module?Completely Disable Module - Magento 1.9Disable all custom and Third Party Module in single CommandInstall via cli but exclude some core modules



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















Suppose I want to go back to the code state where only M2 core modules are active.



question: How do I disable all non-core modules in Magento 2? (in 1 step)










share|improve this question




























    0















    Suppose I want to go back to the code state where only M2 core modules are active.



    question: How do I disable all non-core modules in Magento 2? (in 1 step)










    share|improve this question
























      0












      0








      0








      Suppose I want to go back to the code state where only M2 core modules are active.



      question: How do I disable all non-core modules in Magento 2? (in 1 step)










      share|improve this question














      Suppose I want to go back to the code state where only M2 core modules are active.



      question: How do I disable all non-core modules in Magento 2? (in 1 step)







      module extensions






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked 5 hours ago









      SNHSNH

      88111




      88111




















          1 Answer
          1






          active

          oldest

          votes


















          0














          One option is to execute



          php bin/magento module:disable $(php bin/magento module:status | grep -vE '^Magento|List of enabled modules:|List of disabled modules:|None|^$')


          It will grep all none core modules and pass them as a list to the disable command



          https://www.michiel-gerritsen.com/disabling-non-magento-modules-magento-2/






          share|improve this answer























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272333%2fhow-do-i-disable-all-non-core-modules-in-magento-2-in-1-step%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            One option is to execute



            php bin/magento module:disable $(php bin/magento module:status | grep -vE '^Magento|List of enabled modules:|List of disabled modules:|None|^$')


            It will grep all none core modules and pass them as a list to the disable command



            https://www.michiel-gerritsen.com/disabling-non-magento-modules-magento-2/






            share|improve this answer



























              0














              One option is to execute



              php bin/magento module:disable $(php bin/magento module:status | grep -vE '^Magento|List of enabled modules:|List of disabled modules:|None|^$')


              It will grep all none core modules and pass them as a list to the disable command



              https://www.michiel-gerritsen.com/disabling-non-magento-modules-magento-2/






              share|improve this answer

























                0












                0








                0







                One option is to execute



                php bin/magento module:disable $(php bin/magento module:status | grep -vE '^Magento|List of enabled modules:|List of disabled modules:|None|^$')


                It will grep all none core modules and pass them as a list to the disable command



                https://www.michiel-gerritsen.com/disabling-non-magento-modules-magento-2/






                share|improve this answer













                One option is to execute



                php bin/magento module:disable $(php bin/magento module:status | grep -vE '^Magento|List of enabled modules:|List of disabled modules:|None|^$')


                It will grep all none core modules and pass them as a list to the disable command



                https://www.michiel-gerritsen.com/disabling-non-magento-modules-magento-2/







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 5 hours ago









                SNHSNH

                88111




                88111



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f272333%2fhow-do-i-disable-all-non-core-modules-in-magento-2-in-1-step%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Nidaros erkebispedøme

                    Birsay

                    Was Woodrow Wilson really a Liberal?Was World War I a war of liberals against authoritarians?Founding Fathers...