Packaging a module

This is more of a clarification question. If I created a module and wanted to pass that on to somebody, do I just “create installer package”? It’s unclear to me how to package the code for another person.

If you build Slicer then you can build an extension package (zip file) that users can install from file using the extensions manager in Slicer.

If you don’t want to build Slicer then the user needs to add your module folder to additional module paths in menu: Application settings / Modules.