I have built a druapl 8 site with 'Standard' installation profile.

How can I switch 'standard' installation profile to 'minimal' in existing site?

  • 1
    There is no "switching" installation profiles. There is a variable that describes what installation profile was used during install. What are you actually trying to accomplish? Do you need to uninstall modules or remove content that was installed by the standard installation profile? Please clarify your question.
    – mradcliffe
    Commented Jun 22, 2016 at 13:10
  • The installation profile defines a set of modules, permissions and variables to create/enable. If you created it with standard, you can strip down to minimal by disabling some modules and removing permissions and variables. Otherwise start over. Commented Jun 22, 2016 at 13:32
  • @mradcliffe I'm trying to uninstall module of current activated installation profile. But no modules can be uninstalled directly until and unless their internal content doesn't get deleted. My target is to activate 'minimal' profile which have only node, block, dblog, page_cache, dynamic_page_cache modules. Commented Jun 22, 2016 at 13:44
  • From my experience minimal installation is just a big headache. It's a lot easier to use normal installation and then just uninstall modules that you don't need.
    – No Sssweat
    Commented Jun 23, 2016 at 7:02
  • There is a possibility of switching profiles, FYI—I had to do this one one particular site to get a few of the Lightning distribution's features to work correctly. Here are the instructions for how I did it: drupal.org/node/2677722#comment-11843563 Commented Mar 3, 2017 at 19:37

2 Answers 2


Installation profiles contain code to set up a site during installation, that's all they do. They aren't useful to an installed site.

Trying to change the profile after installation could never conceptually do anything. The installation code has already run, and the purpose of the profile has been served at that point.

  • 6
    For the most part, yes—however, Drupal still tracks the installed profile, and will run update hooks defined in that profile's .install file. Sometimes people install a site with one profile and need/want to switch to another, or to standard/minimal to get out of the cycle of updating that profile... Commented Mar 3, 2017 at 19:38
  • @geerlingguy I didn't know about the update hooks, thanks!
    – Clive
    Commented Mar 3, 2017 at 19:40
  • 2
    Switching profiles is not supported use case and you better know what you do. Having said that, we now have drupal.org/project/profile_switcher Commented May 25, 2019 at 12:36

There is no way to switch you have two solution,

  • install again

  • remove standard modules.

lists the modules enabled by the Standard profile, as compared to the Minimal profile

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