Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Can you write general purpose scripts in Elixir like in Ruby or Python?


Yup, you can write standalone Elixir scripts. Running "elixir myscript.exs" gives you that.


And with Mix.install/2 [0] you have access to the entire ecosystem.

Here are a few examples: https://github.com/wojtekmach/mix_install_examples

[0]: https://hexdocs.pm/mix/1.12.3/Mix.html#install/2




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: