# How to install theme component with app.yaml or from local device?

**URL:** <https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093>\
**Category:** Product Support\
**Created:** [May 4, 2022, 10:53am UTC](https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093 "2022-05-04T10:53:16Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Yaoqi\_Yan](https://avatars.discourse-cdn.com/v4/letter/y/898d66/32.png) [@Yaoqi\_Yan](https://meta.discourse.org/u/Yaoqi_Yan)\
**Post date:** [May 4, 2022, 10:53am UTC](https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093/1 "2022-05-04T10:53:16Z")

</div>

My discourse server is in K8s.  
Can I install theme component(for example discoTOC) with bellow app.yaml config? If not, how to install from my local device?(the k8s is not allowed to access github).

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - git clone https://github.com/discourse/xxx.git

```

---

_[View the full topic](https://meta.discourse.org/t/how-to-install-theme-component-with-app-yaml-or-from-local-device/226093)._
