Could not compile dependency :mint

I tried exlixir -v and as I understand I seem to use Erlang 25 and Elixir 1.14.
I installed it all fresh yesterday minutes after creating the machine so it would be unfortunate if the current Elixir package lags three Erlang versions behind?

Erlang/OTP 25 [erts-13.2.2.5] [source] [64-bit] [smp:20:20] [ds:20:20:10] [async-threads:1] [jit:ns]

Elixir 1.14.0 (compiled with Erlang/OTP 24)

Would it help to make a fresh start and install Erlang first, separately from the Elixir package?