tristan

tristan

Rebar3 Core Team

First announced on the Erlang Forum, BEAMup is a tool for installing a managing the active instance of BEAM languages. It has support for Erlang, Elixir and Gleam on Linux, Mac and Windows – probably works on BSD if built from source?

Things that works (ok, “work”, I actually need to add tests too!):

  • Build Erlang from a Github releases
  • Install Elixir and Gleam from a binary release
  • Install Erlang from a binary release on Windows
  • Set global default of Elixir, Erlang and Gleam to use
  • Set a per-directory version of Elixir, Erlang or Gleam to use

Future plans include:

  • Binary install of Erlang on Mac and Linux
  • Source installation for Elixir and Gleam
  • Building from source based on a git branch (or really any git reference) instead of just GitHub releases
  • BEAMUp binaries for Linux ARM
  • Component installation for things like rebar3 (I guess you have mix for that already :slight_smile: and language servers
  • Checks that the Elixir install you are running is compatible with the Erlang version that is active.

It is still in the early stages so some commands are still missing.

I’ll end with a question, if you have any thoughts on support for installing builds for other hosts let me know on this issue, Support “cross-compilation” of Releases? · Issue #16 · tsloughter/beamup · GitHub. I thought this might be useful for embedded folks.

Showing Posts 1 to 9

dimitarvp

dimitarvp

This is great and I am sure it will find its audience!

For those of us who use asdf or mise, what is beamup doing better than them?

tristan

tristan OP

Rebar3 Core Team

Good question! I don’t believe asdf and mise for Erlang work on Windows. Support for binary installs is unique too, I think. Plus, the eventual support for components – though maybe mise that could be added too, I know I use it for Go and install stuff for Go through it.

Not an answer but I’ll note that beamup has a long lineage going back over a decade. Starting with erln8 and then erlup when erln8 became unmaintained.

Its existence really boils down to that many years ago I wanted an Erlang installer that used links instead of environment variables like kerl and I wanted to learn Rust. Then when the name beamup came up I had to pounce on that, haha, and add support for other languages. Support for Windows came because it felt like something missing and could help the community and make this a viable tool to be promoted by Gleam.

I know where asdf and mise are for sure better: they are tested and mise has better Rust code :slight_smile:

dimitarvp

dimitarvp

Ah, that by itself is a very strong reason. Thanks for following up.

Sorry, what kind of components do you mean? The only association that springs to mind is rustup’s component subcommand where you can e.g. add source code to an existing Rust installation, or extra compiler tooling f.ex. WASM support.

tristan

tristan OP

Rebar3 Core Team

I mean like rustup’s support for compnents like the LSP server, but also tools like rebar3 – not useful to Elixir users since this is done by mix already. The first I plan to add are rebar3 and the Erlang langauge server ELP.

dimitarvp

dimitarvp

Ah, nice, that’s what I thought. That’s actually great and is valuable. Looking forward to play with it when you finish it. Thanks!

cmo

cmo

vfox is a cross platform version manager.

krasenyp

krasenyp

Thank you, I’m looking forward to trying it on FreeBSD as I can’t install Erlang 27 via asdf.

tristan

tristan OP

Rebar3 Core Team

Cool, let me know if it works!

tristan

tristan OP

Rebar3 Core Team

Now on Linux, thanks to GitHub - gleam-community/erlang-linux-builds: Prebuilt linux binaries of Erlang/OTP · GitHub , you can install compiled builds of Erlang with beamup install erlang <TAG>. These are statically built so have caveats (see the repo’s README for more), the biggest one being NIFs don’t work. So you’ll likely want to instead do beamup install erlang --libc glibc erlang latest (or --libc musl) which fetches a build that will dynamically link to glibc or musl.

Also, I never replied that ELP was added, you can install ELP with beamup component install elp latest

— All posts loaded —

Where Next? Top

Trending in Discussions Top

AstonJ
The obligatory hello world thread! Who are you and where are you from? :stuck_out_tongue:
4663 61218 595
New
cblavier
Hey there, It’s been more than a year since we started using LiveView as our main UI library and building a whole library of UI componen...
515 12931 101
New
wmnnd
Hey folks, I wanted to share with you a project I’ve been working on for a while: It’s an Open Source (AGPLv3) newsletter tool. Think Ma...
New
raa-ziq
Hi everyone :waving_hand: I wanted to share something I’ve been building — NowBlind, a random chat app designed to help people discover ...
New
sntran
In my third year of college, around 2010, I found Erlang. A few years later, I found Elixir. I liked the ideas at once: many small proces...
New
gtcode
I’ve been tinkering with Lynx (by José) via hold_ledger. I used AI to write the code, a separate specification, the tests, and the Lean p...
New
Ganna
Hi everyone, I have 8 years of production experience with Erlang/OTP and I’m just starting to get to know Elixir. What would you learn f...
New

Other Trending Topics Top

dominicletz
Hey there, I haven’t seen a list of useful Elixir specific skills for the popular AI tools yet so I’m starting one here with my first. ...
New
mudasobwa
I fully migrated to my own harness from Anthropic/Gemini and I think it’s time to share it. Welcome DSH, the DeepSeek Harness, fully writ...
New
KristerV
Hey. Is there anyone here who creates agents in their apps? Not talking about using agents, but creating them. I’m finding it pretty diff...
New
OndrejValenta
(I just needed to vent somewhere and LinkedIn is full of hope, or hype, I’m not sure which exactly) AI dream has many faces, but general...
New
kip
Localize is the next generation localisation library for Elixir. Think of it as ex_cldr version 3.0. The first version will be released ...
New
jimsynz
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews