# I need help on installing a plugin

**URL:** https://meta.discourse.org/t/i-need-help-on-installing-a-plugin/257417
**Category:** Self-hosting
**Created:** [March 7, 2023, 6:33pm UTC](https://meta.discourse.org/t/i-need-help-on-installing-a-plugin/257417 "2023-03-07T18:33:15Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Roi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/roi/32/130587_2.png) [@Roi](https://meta.discourse.org/u/Roi)
#### Post date: [March 7, 2023, 6:39pm UTC](https://meta.discourse.org/t/i-need-help-on-installing-a-plugin/257417/3 "2023-03-07T18:39:14Z")

</div>

> [@abstract](#):
>
> [Install Plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157)

Well, you put the plugin url into the app.yml like shown in the link you posted:

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - sudo -E -u discourse git clone https://github.com/discourse/docker_manager.git
          - sudo -E -u discourse git clone https://github.com/discourse/discourse-spoiler-alert.git

```

Here in the example, the plugin is [discourse spoiler alert](https://meta.discourse.org/t/discourse-spoiler-alert/12650).

---

_[View the full topic](https://meta.discourse.org/t/i-need-help-on-installing-a-plugin/257417)._
