imetallica

imetallica

Hey folks, I’m trying to install Elixir 1.3 using brew: brew install elixir@1.3.4 but without success. Is there a way to do that using brew?

Thanks in advance,

I.

Showing Posts 1 to 7

chrismccord

chrismccord

Creator of Phoenix

I’m no help with brew, but I’ve been a happy user of kiex for some time now. It builds from source and allows you to seamless switch versions. You might consider it instead of brew, which would let you simply do kiex install 1.3.4

https://github.com/taylor/kiex

LostKobrakai

LostKobrakai

Homebrew does not keep older versions for all of their packages. Elixir is one of those where there aren’t older versions. You can look for older packages like this: brew search [packagename]. If there are older versions, they’ll pop up.

imetallica

imetallica OP

Thanks folks, I’ll give a shot at kiex then. :slight_smile:

romenigld

romenigld

So for change the version it’s needed to use a manager?
I already have installed with brew and for use diferent versions I install right now the asdf.
It’s very simple this manager and I liked.
My question is, I need to uninstall the elixir and Erlang with homebrew?
Or just keep them? Because I know it’s a lot capacity keep them.

evnp

evnp

Installing older versions of Elixir for testing package compatibility has proved surprisingly hard in 2025. After fighting brew and asdf failing installs/builds, kiex works seamlessly. Thanks for the direction Chris (and of course, for all your incredible work on Phoenix)

Worth noting that compatibility between Elixir AND Erlang version seems very relevant here – many combinations won’t work at all. It took a bit of flailing before I realized I needed to downgrade Erlang as well after consulting the compatibility table here: Compatibility and deprecations — Elixir v1.20.2. Fortunately homebrew hosts at least some older versions of Erlang (no such luck for elixir).

D4no0

D4no0

What specifically you couldn’t make work with asdf? Theoretically this is the best option as it compiles OTP from source.

evnp

evnp

I didn’t intend to disparage asdf, I’m just not a user of it at present so there are likely some familiarity gaps. The tests kept failing after installing older Elixir versions, which in retrospect may have been happening because I didn’t have the correct/compatible versions of Erlang installed (the test failure output didn’t help point me in any useful direction, unfortunately). I couldn’t find a way to skip the tests, which seemed to abort the whole install when they fail. Even after I did get an install to pass (1.16 I think, only one that worked) and added some incantations to my .bashrc, the elixir command would do nothing, no output, not even “command not found.” I’m sure this was due to some form of user error, but after trying out kiex no problems like these appeared, and I was up and running in a couple minutes. At a certain point the time for troubleshooting is up, and the path of least resistance is what you need to run with.

I’d be happy to try all this again and open a github issue or two (for anything that doesn’t prove to be user error) if that’s helpful at all.

— All posts loaded —

Where Next? Top

Trending in Questions Top

stjefim
Hello! Suppose you are building workflow (order / task / payment) processing system with the following requirements: Each workflow con...
New
jonnycharles
I’m in search of an Elixir library that offers PDF generation capabilities similar to Ruby’s Prawn. While there have been discussions abo...
New
spammy
I’m looking to build a personal workflow to quickly deploy web applications written in elixir/phoenix, for local consumption (ie not on t...
New
dli
Before I dive in myself, did anyone successfully sprinkle Hologram into their existing LiveView app? Looking for hints regarding: Addi...
New
roeland
Kia ora, We have been using elixir-google-api to connect to Google Drive. However, with the updates to Tesla due to CVEs this is now bro...
New
bottlenecked
Hi all, I wanted to ask how the community is dealing with post-release steps. Today we have Ecto migrations, which make sure that the db...
New
rahultumpala
Hello, I have an Elixir backend that implements a custom protocol over TCP. I want to load test the backend and assess the performance o...
New

Other Trending Topics Top

JesseHerrick
Hey, I’m Jesse and I’m the main contributor behind Dexter, a full-featured, lightning-fast Elixir LSP optimized for large codebases. It s...
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
mcass19
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Damirados
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve. They are GUI (Emerge) and State management (S...
New
netoum
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
ausimian
Emily is an Elixir library that runs Nx computations on Apple’s MLX. Install it as the default Nx backend and Nx, defn, Axon, Nx.Serving,...
New

We're in Beta

About us Mission Statement

Options

Thread Display Mode




Thread Preview

Skip Thread Previews