# How to completely uninstall / remove a plugin

**URL:** https://meta.discourse.org/t/how-to-completely-uninstall-remove-a-plugin/55034
**Category:** Self-hosting
**Created:** [1 בינואר,‏ 2017,‏ 8:25pm UTC](https://meta.discourse.org/t/how-to-completely-uninstall-remove-a-plugin/55034 "2017-01-01T20:25:22Z")
**Posts on this page:** 1
**Showing post:** 18

<div class="post-metadata">

### Author: ![ddelrio1986](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/ddelrio1986/32/206148_2.png) [@ddelrio1986](https://meta.discourse.org/u/ddelrio1986)
#### Post date: [16 ביוני,‏ 2021,‏ 4:32pm UTC](https://meta.discourse.org/t/how-to-completely-uninstall-remove-a-plugin/55034/18 "2021-06-16T16:32:54Z")

</div>

I believe the `app.yml` can be found at `/var/discourse/containers/app.yml`. You will need to edit that file and remove any references to the plugin. You should be able to locate something similar to the following in the file:

```plaintext
## Plugins go here
## see https://meta.discourse.org/t/19157 for details
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/discourse-jwt.git
          - git clone https://github.com/zh99998/discourse-cross-origin.git

```

Each of the git clone lines there refers to a plugin installed in the Discourse instance. After editing the file you will need to rebuild your Discourse application. From the `/var/discourse` folder you can run `./launcher rebuild app` to rebuild your Discourse application.

---

_[View the full topic](https://meta.discourse.org/t/how-to-completely-uninstall-remove-a-plugin/55034)._
