# How exactly does Elixir start your code?

**URL:** <https://forum.elixirforum.com/t/how-exactly-does-elixir-start-your-code/5695>\
**Category:** Questions\
**Tags:** compiling, mix, internals\
**Created:** [June 2, 2017, 11:22am UTC](https://forum.elixirforum.com/t/how-exactly-does-elixir-start-your-code/5695 "2017-06-02T11:22:30Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Eiji](https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/eiji/32/36743_2.png) [@Eiji](https://forum.elixirforum.com/u/Eiji)\
**Post date:** [June 2, 2017, 12:10pm UTC](https://forum.elixirforum.com/t/how-exactly-does-elixir-start-your-code/5695/2 "2017-06-02T12:10:05Z")

</div>

@Qqwy: Have you looked at [a build utility that allows you to to use mix packages in an elixir script](https://forum.elixirforum.com/t/a-build-utility-that-allows-you-to-to-use-mix-packages-in-an-elixir-script/5096)? I think that should be better than plain scripts without `mix`. For example if you have `test.ex` in your current directory then you can run `mix_script compile test.ex` and finally you will have `test` binary that you can execute anytime you want. `mix_script` will automatically generate and compile your project into binary, so you do not need to create whole project for simple learning `5-minute` code.  
Hope that it will help you 🙂

---

_[View the full topic](https://forum.elixirforum.com/t/how-exactly-does-elixir-start-your-code/5695)._
