albydarned
Hello all!
I am typing this post from my new MacBook Pro with the M1 chip. I’m loving it so far, and will probably use it as my daily driver.
Wondering if anyone out there has had any luck installing elixir and Erlang using a version manager like asdf? I’ve been trying but getting a few build errors. If it takes considerable effort I’ll probably remote into a server to do whatever elixir development I need to until its more documented and better supported.
Thanks
Trending in Questions
I’m working on a project that simulates the bumbl example in the programming phoenix book. It acts almost like an email client. We have a...
New
Hello,
I know there is an approach for handling lists that allows for optimized traversal, but I can’t recall the specific method (somet...
New
I’m seeing that a list inside a Kino.DataTable will be interpreted as a charlist, even if the Kino.configure() is set to charlists: :as_l...
New
So my question is quite simple and i have found no conclusive answer on forum, google or AI.
Should we use :erlang.float for Integer to ...
New
Documentation
While reading the Scoped Routes section, I noticed that the documentation currently refers to a problem without explainin...
New
Hi, I’ve just set up an application with ash_authentication. There is only magic link strategy for now, so there is no confirmation add o...
New
If a change or preparation module uses Ash.Changeset.get_argument/2 or Ash.Query.get_argument/2 (or any of the other get_argument functio...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hi there! We created Gust: A task orchestrator inspired by Airflow.
For those who have never heard about Aiflow, it’s a Python-based wor...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
Xamal is a deployment tool for Elixir apps that deploys native releases to bare metal servers over SSH. It’s a port of GitHub - basecamp/...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
With AI doing more of the implementation work, I’ve been wondering how much coding I should deliberately keep doing myself.
My main conc...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #library
- #deployment
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #podcasts
- #javascript
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #elixirconf-us
- #ai
- #blog-post
- #elixir-ls
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming










Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
josevalim
Try compiling it from the GitHub repo, in particular, the
maintbranch, as there have been some fixes related to BigSur recently: Fix the make configuration for macOS 11.0.1 by idyll · Pull Request #2865 · erlang/otp · GitHubalbydarned
Thanks Jose!
I was able to get everything working by installing homebrew using rosetta 2. I followed this guide: Homebrew on Apple Silicon — Sam Soffes
Still haven’t had much success installing older versions or using ASDF but 1.11 will work for what I need.
type1fool
Homebrew has a compatibility tracker for several formulae.
https://github.com/Homebrew/brew/issues/7857?ref=dtf.ru
aenglisc
Speaking of which, I wonder if the ERTS would work fine with asymmetric cores.
hauleth
I see no reason why not, all is up to the system scheduler. It can be tested on LITTLE.big architecture from ARM (M1 uses similar approach).
DanBunea
Hi @albydarned,
I plan to buy an M1 Pro. My development is now pretty much only Elixir (Phoenix/LiveView etc). So if I can install Elixir using Homebrew (with Rosetta2), it seems I can push the Order button.
Am I right?
Thanks,
Dan
wojtekmach
I have an experimental project that is a one click install of OTP+Elixir that you might find helpful:
The script simply downloads precompiled OTP & Elixir releases. See GitHub - wojtekmach/beamup · GitHub. Currently the only available OTP release is 23.1.4 on ,
darwin-x86_64,darwin-arm64,linux-x86_64, andlinux-armv7l(built on rpi4).If you have a Mac with M1, this should work out of the box natively as well as via Rosetta 2.
As I mentioned initially, this is just a proof of concept. I had brief discussion with members of OTP team on attaching pre-compiled builds to new OTP releases, for macOS in particular. If GitHub ever exposes darwin-amd64 as a target, we’d definitely take advantage of that too.
That being said, you’d most likely want to use Homebrew for other things so it might make sense to use the unofficial support or wait for the official one. I’m personally trying out MacPorts this time around and it seems to work pretty well though it can’t install erlang yet.
aenglisc
NIce! The “about” link seems to be incorrect though.
wojtekmach
thanks, fixed!
albydarned
Has anyone here had success installing older versions of elixir or OTP?
Using brew to install elixir 1.11 has worked great, but I have some older projects I want to support.