I have installed Erlang/OTP and Elixir, and compiled the HelloWorld program into a BEAM using the command:
elixirc test.ex
Which produced a fil
To specifically address the question:
$ elixirc test.ex
will produce a file named Elixir.Hello.beam
, if the file defines a Hello
module.
If you run elixir
or iex
from the directory containing this file, the module will be available. So:
$ elixir -e Hello.some_function
or
$ iex
iex(1)> Hello.some_function