Answers.Body: <p>It isn't possible to uninstall a disabled plugin; you'll need to first enable the plugin, and then the Uninstall option will be available.</p>
  
  <p>The correct way to remove a plugin is actually to first Uninstall it. After uninstalling, you can either run <code>composer remove vendor/plugin-handle</code> from the command line, or select the "Remove" option from the Control Panel (the "Remove" option is available for any plugin that isn't currently installed).</p>
  
  <p>If you do it the other way around – i.e. remove the files before uninstalling the plugin – you're probably going to see some issues.</p>
  
Answers.ContentLicense: CC BY-SA 4.0
Answers.CreationDate: 2018-07-16T15:01:41.690Z
Answers.LastActivityDate: 2018-07-16T15:01:41.690Z
Answers.UserDisplayName: Mats Mikkel Rummelhoff
Body: <p>I want to uninstall a plugin.
  I disabled it in CP but there is no option to uninstall this plugin.</p>
  
  <p>So I go to composer and remove it from the <code>required</code> section and run <code>composer update</code>.
  This deals with the files but not the database record.</p>
  
  <p>So it's not clear to me the best way to uninstall a plugin in Craft 3. Thru the interface is fine when it works but when there is no option how do you get rid of it?</p>
  
Tags: <plugins><uninstall>
Title: how to uninstall a plugin when there is no cp option
ThreadText: # how to uninstall a plugin when there is no cp option
  
  (Asked by: username_0 on 2018-07-16)
  
  I want to uninstall a plugin.
  I disabled it in CP but there is no option to uninstall this plugin.
  
  So I go to composer and remove it from the `required` section and run `composer update`.
  This deals with the files but not the database record.
  
  So it's not clear to me the best way to uninstall a plugin in Craft 3. Thru the interface is fine when it works but when there is no option how do you get rid of it?
  
  **Tags:** plugins, uninstall
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2018-07-16. Score: 10 | Accepted answer
  
  It isn't possible to uninstall a disabled plugin; you'll need to first enable the plugin, and then the Uninstall option will be available.
  
  The correct way to remove a plugin is actually to first Uninstall it. After uninstalling, you can either run `composer remove vendor/plugin-handle` from the command line, or select the "Remove" option from the Control Panel (the "Remove" option is available for any plugin that isn't currently installed).
  
  If you do it the other way around – i.e. remove the files before uninstalling the plugin – you're probably going to see some issues.
  
  
  ---
  
  