# Install all plugins

**URL:** <https://meta.discourse.org/t/install-all-plugins/200132>\
**Category:** Self-hosting\
**Created:** [August 12, 2021, 1:04am UTC](https://meta.discourse.org/t/install-all-plugins/200132 "2021-08-12T01:04:39Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![OverseersMight](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/overseersmight/32/228719_2.png) [@OverseersMight](https://meta.discourse.org/u/OverseersMight)\
**Post date:** [August 12, 2021, 1:04am UTC](https://meta.discourse.org/t/install-all-plugins/200132/1 "2021-08-12T01:04:40Z")

</div>

How would I install all the plugins here as if they were part of my app.yml?  
[https://github.com/discourse/all-the-plugins](https://github.com/discourse/all-the-plugins)  
I tried inserting the command provided in my yml as:

```plaintext
hooks:
  after_code:
    - exec:
        cd: $home/plugins
        cmd:
          - sudo -E -u discourse git clone https://github.com/discourse/docker_manager.git
          - git clone https://github.com/discourse/all-the-plugins.git
        cd: ./all-the-plugins
        cmd:
          - git submodule update --init --recursive

```

But it ended up giving me an error

```plaintext
Pups::ExecError: cd ./all-the-plugins && git submodule update --init --recursive failed with return #<Process::Status: pid 292 exit 2>
Location of failure: /pups/lib/pups/exec_command.rb:112:in `spawn'
exec failed with the params {"cd"=>"./all-the-plugins", "cmd"=>["git submodule update --init --recursive"]}
f4e262dc445e2f04b6061be127f4e874dbf5aaa30e889367527113e88f33ea62

```

---

_[View the full topic](https://meta.discourse.org/t/install-all-plugins/200132)._
