# How to create an exe file from julia code?

**URL:** https://discourse.julialang.org/t/how-to-create-an-exe-file-from-julia-code/30004
**Category:** General Usage
**Created:** [October 16, 2019, 11:23pm UTC](https://discourse.julialang.org/t/how-to-create-an-exe-file-from-julia-code/30004 "2019-10-16T23:23:14Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![jling](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/jling/32/212909_2.png) [@jling](https://discourse.julialang.org/u/jling)
#### Post date: [October 16, 2019, 11:39pm UTC](https://discourse.julialang.org/t/how-to-create-an-exe-file-from-julia-code/30004/2 "2019-10-16T23:39:05Z")

</div>

this is the most feared question of the community at the moment, there’s no ‘real-world usable’ approach – just like python, unless you just [ask user to](https://docs.spyder-ide.org/installation.html) have python or course. The closest you can get is: [GitHub - JuliaLang/PackageCompiler.jl: Compile your Julia Package](https://github.com/JuliaLang/PackageCompiler.jl)

also see discussion here:

> [@Compiling and building binaries from your julia code](https://discourse.julialang.org/t/compiling-and-building-binaries-from-your-julia-code/5687):
>
> I put together a repository on how to compile binaries and shared libraries from your user code - with lots of help from Jameson. [https://github.com/JuliaComputing/static-julia](https://github.com/JuliaComputing/static-julia) The instructions are in the README, and are hopefully straightforward. The juliac.jl script is also simple and easy to inspect and modify. [https://github.com/JuliaComputing/static-julia/blob/master/README.md](https://github.com/JuliaComputing/static-julia/blob/master/README.md) The hello.jl in this repo gets compiled into a hello binary, and can be executed like any other OS binary. I ha…

---

_[View the full topic](https://discourse.julialang.org/t/how-to-create-an-exe-file-from-julia-code/30004)._
