# Automating Discourse Plugin Setup with \`create-discourse-plugin\` gem

**URL:** <https://meta.discourse.org/t/automating-discourse-plugin-setup-with-create-discourse-plugin-gem/315013>\
**Category:** Developers\
**Created:** [July 4, 2024, 1:53pm UTC](https://meta.discourse.org/t/automating-discourse-plugin-setup-with-create-discourse-plugin-gem/315013 "2024-07-04T13:53:41Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![gabriel](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/gabriel/32/367911_2.png) [@gabriel](https://meta.discourse.org/u/gabriel)\
**Post date:** [August 14, 2024, 3:01pm UTC](https://meta.discourse.org/t/automating-discourse-plugin-setup-with-create-discourse-plugin-gem/315013/7 "2024-08-14T15:01:32Z")

</div>

I have great news! I’ve just [merged](https://github.com/discourse/discourse/pull/28350) this new rake task into core:

```sh
rake plugin:create[name]

```

It works similarly to the gem, but it does not push to GitHub, giving you the choice of what to do–precisely like `discourse_theme new`

I’ll tag this gem as deprecated, as we have a more _official_ solution

---

_[View the full topic](https://meta.discourse.org/t/automating-discourse-plugin-setup-with-create-discourse-plugin-gem/315013)._
