How to remove all unused modules using Drush in Drupal 8/9

After the development is finished if you want to clean things up and make sure there are no extra disabled modules lying around your Drupal website then use the following drush command.

Note: After running the drush command, there are some modules that come together bundled with their "parent" module.



Read Next