Can't install elixir because of Erlang in Mac OS

Hi! I’ve tried more than thrice to install elixir in my macbook. But I’m getting this error:

curl: (22) The requested URL returned error: 401 Unauthorized
Error: elixir: Failed to download resource “erlang”
Download failed:
Screen Shot 2022-08-07 at 9.44.16 PM
Seeking solution of this problem.



Wonder what this is about…Guess you should upgrade homebrew for it to work.

One way or another your SSL connection fails. Might be due to outdated certificate store or using a proxy which does not return the correct info. But first: update homebrew.

Hey, Thanks for responding.
Before installation I updated my brew with this command “brew update”.
But even after updating can’t install elixir in my mac.