How to run Erlang natively on Apple M1 chip.
If you are using version 23+, just upgrade your version to 23.2+ then you are able to build and install via package management tools like kerl, homebrew, asdf … etc.
If you’re using some legacy versions, then this article might help you.