# How to add the plug-in module you wrote to slicer in the form of code or command line?

**URL:** <https://discourse.slicer.org/t/how-to-add-the-plug-in-module-you-wrote-to-slicer-in-the-form-of-code-or-command-line/38291>\
**Category:** Support\
**Created:** [September 9, 2024, 11:33am UTC](https://discourse.slicer.org/t/how-to-add-the-plug-in-module-you-wrote-to-slicer-in-the-form-of-code-or-command-line/38291 "2024-09-09T11:33:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ning\_w](https://sea2.discourse-cdn.com/flex002/user_avatar/discourse.slicer.org/ning_w/32/68617_2.png) [@ning\_w](https://discourse.slicer.org/u/ning_w)\
**Post date:** [September 9, 2024, 11:33am UTC](https://discourse.slicer.org/t/how-to-add-the-plug-in-module-you-wrote-to-slicer-in-the-form-of-code-or-command-line/38291/1 "2024-09-09T11:33:31Z")

</div>

Now I have encountered a new difficulty: I wrote a plug-in myself and put the .py file and .ui file in a folder, but I don’t know how to import this plug-in module into slicer. Is there any way to implement it in the code or command line? I urgently need your help, thank you.  
I currently only know that I can manually add the module path in Edit-\>Application Settings-\>Modules in slicer, but I want to know if there are other ways.
