bryanhuntesl

bryanhuntesl

Biggest challenges in setting up a desktop Elixir development environment

Perhaps we as community need to do something to make it easier to install Elixir on the various desktops.

What do people think? What are the pain-points getting Elixir installed and an environment configured.

Is the fact that you have to install both Erlang and Elixir to have a development environment an inconvenience?

Primarily, interested in the experience on Mac, and Windows - for Linux you’ve got the choice of asdf/kerl/distro packages/erlang solutions packages so I don’t think it’s such an issue.

Anyhow, any feedback welcome.

Most Liked

pdgonzalez872

pdgonzalez872

yep, asdf is actually the preferred way to install it for us.

@bryanhuntesl I think installing Erlang and Elixir to your machine is a pretty straight forward ask if you want to use Elixir, right?

The main issues I’ve seen with installation problems is not following the asdf readme. There are a couple of steps that do make a difference. Also, the order as well, installing Erlang first (with a certain OTP version), then Elixir (with a matching OTP version).

I have seen issues where mixing brew with asdf caused some pain, but was never able to duplicate and folks resolved on their own after using asdf. Once folks started using only asdf, issues went away.

axelson

axelson

Scenic Core Team

If you’re using asdf I think the biggest pain point is installing erlang, since it installs from source and compilation takes a good 20+ minutes. I’m sure there’s others as well, but that’s my largest pain point.

garazdawi

garazdawi

Erlang Core Team

The .tar.gz files on Index of /download/ are precompiled. Though they are only available for major and maintenance releases, not patches.

As of OTP-23.1 (to be released soon), we will also include a prebuilt tar.gz with all releases (major, maint and patch) on github.

Last Post!

marcalchca

marcalchca

Hi Jason,

Thanks for the update.

Best regards
Marc

Where Next?

Popular in Discussions Top

PragTob
Hey everyone, this has been on my mind for some time and I’d love your input on it! TLDR: I feel like maps are superioer for storing and...
New
AstonJ
If a newbie asked you about Phoenix Contexts, how would you explain the basics to them? Feel free to be as concise or in-depth as you li...
New
AstonJ
I’ve just started the Phoenix part of the utterly brilliant online course by @pragdave. On generating the Phoenix app he uses the --no-ec...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
AstonJ
Seen any cool LiveView demos, sample apps or examples? Please post them here! :003:
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
AngeloChecked
What learn first? Rust or Elixir Hi Elixir community! I’m here because i want learn a new language. I’m a junior developer and mainly i ...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New

We're in Beta

About us Mission Statement