New Windows 10 install - elixirc command not recognised


I just installed Elixer/Erlang via the Windows Installer route… I have confirmed with elixer --version, iex, erl works too, but…

`C:\Users\MaraTom\Desktop\Elixer>elixir --version
Erlang/OTP 21 [erts-10.0.1] [64-bit] [smp:4:4] [ds:4:4:10] [async-threads:1]

Elixir 1.7.1 (compiled with Erlang/OTP 19)`

How do you compile a program? I ran ‘elixerc’ <filename.ex> and it says not recognized command.

Any help please, total new here.

You rarely need elixirc directly, usually building via mix is totally enough.

PS: it’s elixirc not elixerc, just saying because you made that typo twice.


I realized after I posted and copied and pasted in the command that I had it wrong with the e in there instead of the i.

I was able to make my first HelloWorld.ex program, so all is well, it seems.

Thanks for your fast response.

1 Like