#Elixir installation error - Windows 10

8 messages · Page 1 of 1 (latest)

bleak barn
#

I have been following https://elixir-lang.org/install.html and https://github.com/elixir-lang/elixir/wiki/Windows in order to install Elixir on my Windows 10 device.

I got Erlang downloaded via Chocolatey and tried to install elixir by "Compiling from source". I reached the "Compiling Elixir" step and after running make I reached this error.

make: *** No rule to make target 'C:/Program', needed by 'lib/elixir/ebin/elixir.app'.  Stop.

Admittedly I am not that familiar with working on the terminal and setting environment variables so I had a few difficulties here and there (which I believe I fixed), looking up this problem online didn't lead me to find what went wrong.

GitHub

Elixir is a dynamic, functional language for building scalable and maintainable applications - elixir-lang/elixir

fast meteor
#

I recommend using WSL2 feature of Windows to install Elixir, even as a n00b

#

There’s more resources and less compatibility issues on Linux

#

If you must use windows why not just use the installers there?

#

Choco is dying now with winget it seems

bleak barn
fast meteor
#

that's great! keep in mind what else I mentioned about WSL, installing is usually the easiest part 🙂

#

also learning linux command line is probably more valuable than windows unless you want to go the powershell route 🙂