# How do I import a module to another program

**URL:** <https://discourse.julialang.org/t/how-do-i-import-a-module-to-another-program/93197>\
**Category:** Performance\
**Tags:** question, package, module\
**Created:** [January 19, 2023, 8:34am UTC](https://discourse.julialang.org/t/how-do-i-import-a-module-to-another-program/93197 "2023-01-19T08:34:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![dmtrung14](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dmtrung14/32/45964_2.png) [@dmtrung14](https://discourse.julialang.org/u/dmtrung14)\
**Post date:** [January 19, 2023, 8:34am UTC](https://discourse.julialang.org/t/how-do-i-import-a-module-to-another-program/93197/1 "2023-01-19T08:34:48Z")

</div>

I am trying to import a module from another file to my program (i.e. my program and my module is not in the same folder)

Can I do that or do I have to install my own package?

If so, how can I do that?

Thanks

---

<div class="post-metadata">

**Author:** ![Iulian.Cioarca](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/iulian.cioarca/32/30166_2.png) [@Iulian.Cioarca](https://discourse.julialang.org/u/Iulian.Cioarca)\
**Post date:** [January 19, 2023, 10:43am UTC](https://discourse.julialang.org/t/how-do-i-import-a-module-to-another-program/93197/2 "2023-01-19T10:43:26Z")

</div>

> include(“path\_to/myModule.jl”)  
> using .myModule
