# Can a custom module be created locally?

**URL:** <https://community.hubspot.com/t/can-a-custom-module-be-created-locally/30284>\
**Category:** CMS Development\
**Tags:** local-development\
**Created:** [January 15, 2021, 4:27pm UTC](https://community.hubspot.com/t/can-a-custom-module-be-created-locally/30284 "2021-01-15T16:27:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![khookguy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/khookguy/32/82803_2.png) [@khookguy](https://community.hubspot.com/u/khookguy)\
**Post date:** [January 15, 2021, 4:27pm UTC](https://community.hubspot.com/t/can-a-custom-module-be-created-locally/30284/1 "2021-01-15T16:27:44Z")

</div>

When I do _hs fetch_ and download a theme that I’ve created from the developer file system, I notice that my modules are downloaded as directories with a _.module_ suffix, like _Banner.module_.

Can I also create a new module locally by adding a directory in my /modules folder, such as _ProfileSection.module_ ?

If so, how do I come up with the necessary ids like the _module\_id_ in _meta.json_ and the _id_ attributes needed for fields in the _fields.json_ file?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [January 16, 2021, 12:07am UTC](https://community.hubspot.com/t/can-a-custom-module-be-created-locally/30284/2 "2021-01-16T00:07:37Z")

</div>

Hey @khookguy !

Yes! You can totally create modules locally and upload!

You could do this manually OR you could use the [hs create command](https://developers.hubspot.com/docs/cms/developer-reference/local-development-cms-cli#create)

If you are using vscode, make sure to get the [vs code extension!](https://developers.hubspot.com/changelog/hubspot-vs-code-extension)

Good luck out there!
