Trying install elixir on __FreeBSD 12.1__, but I couldn't manage to install it with __Erlang 23+__.
I used pkg and also tried to make install from /usr/ports/lang/elixir but the same, it always install with __Erlang 21__.

Because I develop with __Elixir 1.10.4__ with __Erlang 23.1__ on my local machine, and I doubt maybe I will face some issues when I recompile it on my __FreeBSD__ server.
Hi @alaadahmed ! I recommend reaching out to Elixir Forum (or similar) for support because this seems to be a FreeBSD issue in particular. Maybe you can explicitly ask it to install Erlang before? We don鈥檛 maintain the Erlang packages for FreeBSD so it is not an area we have expertise with. Thanks!
@alaadahmed I have used FreeBSD before, so here goes some useful links:
(those 2 should give you answer about current FreeBSD support)
asdf works on FreeBSDAs said if you have some problems during installation feel free to create a post on Elixir Forum.
Thanks you @Eiji7
I already checked these two specific files, problem is the one of Erlang
You can't install Erlang lang 23+, but you can install Erlang-Runtime23
and Elixir needs Erlang itself.
I mean on FreeBSD ports, the highest version of erlang __lang__ is 21+, but __runtime__ is 23+
Here is the MakeFile for erlang lang port 馃様

These are all available Erlangs for FreeBSD

Here is the MakeFile for Elixir, no problem with it, it specifies erlang dep is >= 21+, problem is to find it in FreeBSD ports 馃槄

I will give asdf a try to see what I can do with it about erlang.
@alaadahmed just install the elrlang-runtime23 package and then adjust your PATH to include /usr/local/lib/erlang23/bin/
The default package in FreeBSD is still at OTP21 because there is other software in the tree that requires Erlang and doesn't work with OTP22+, so they've kept the default at OTP21 for safety.
Most helpful comment
@alaadahmed I have used
FreeBSDbefore, so here goes some useful links:(those 2 should give you answer about current FreeBSD support)
asdfworks onFreeBSDAs said if you have some problems during installation feel free to create a post on Elixir Forum.