AstonJ

AstonJ

Edit: Please see this more recent thread:

Forum Poll / 2019


In Ruby we have RVM, Chruby Rbenv etc - what are the Elixir options? Maybe we can compile a list…

ExENV

https://github.com/mururu/exenv

exenv lets you easily switch between multiple versions of Elixir. It’s simple, unobtrusive, and follows the UNIX tradition of single-purpose tools that do one thing well.

exenv is a Elixir version of rbenv and used denv as a reference. Thanks to @sstephenson and @repeatedly.

KIEX

https://github.com/taylor/kiex

Kiex allows you to easily build and switch between different Elixir versions.

It supports setting the default (global) Elixir version as well as per shell/project versions.

Everything is self-contained under ~/.kiex.

Usage is based lightly on RVM, kerl, and rbenv.

ASDF

https://github.com/asdf-vm/asdf

Extendable version manager with support for Ruby, Node.js, Elixir, Erlang & more


Blog Posts

Changing versions of Elixir and Erlang - 9elements.com

Managing Elixir versions with Kiex - johanwarlander.com

Introducing Asdf: The Extendable Version Manager - stratus3d.com

Integrating direnv with kiex - blog.differentpla.net (by @rlipscombe)

Showing Posts 45 to 36

thiagomajesk

thiagomajesk

It just got to my attention that on Windows, Scoop may be an alternative. I know it can manage version for Ruby and Python - I don’t know about elixir, but it’s worth mentioning it if someone is interested.

OvermindDL1

OvermindDL1

Oh I’m not big on WSL either, I use a secondary installed bash shell (the full cygwin shell actually) and it works far better. :slight_smile:

thiagomajesk

thiagomajesk

@OvermindDL1 I don’t want to be generic though; I think I’ll use my efforts (and free time) a lot better if I reduce the scope to just elixir.
BTW, I’ve looked asdf source code in the past and I don’t think it would be trivial to port it to Windows because Powershell has a lot of idiosyncrasies.

Or just use asdf via bash on windows?

I just hate it. WSL till this day has a lot of problems and is not feasible to have just another shell to do one thing. I sincerely don’t understand the impetus of indicating this for Windows; WSL is mainly a workaround that produces a terribly mixed workflow.

OvermindDL1

OvermindDL1

You could probably just port asdf to powershell or something, that way it would be ‘generic’ and you could even reuse the same old packaging information from many asdf things. :slight_smile:

Or just use asdf via bash on windows?

thiagomajesk

thiagomajesk

@NobbZ is right, Chocolatey is not meant to be a version manager.
I’ve even contacted the package author to see the possibility to provide more elixir versions based on otp compilation.

So… I started putting together my own version manager… I’m no expert and just started hacking around with Powershell for real after posting in here. For anyone interested:

https://github.com/thiagomajesk/winevm

PS.: The project is very very embrionary and lacks a lot of functionality to make it usable right now.
Currently, it can list branches and releases for Elixir and Erlang as well as download those versions.

I intend to keep working on it (It’s been two days hacking around so far)…

I mainly started this project because I was trying to start to learning Elixir/Phoenix and the vs code extensions that uses dialyxir was complaining about the version my elixir was compiled, so I ended up in this thread :slight_smile:.

NobbZ

NobbZ

That’s not a version manager. It just installs the latest version and optionally updates it. It does not install two different versions.

BrightEyesDavid

BrightEyesDavid

I don’t use Windows for development, but I think choco is supposed to be good.

thiagomajesk

thiagomajesk

At this point Is there any versions managers for elixir on Windows?

demem123

demem123

thanks! i’ve just started using it :slight_smile:

romenigld

romenigld

It will not broke.
ASDF is the best choice for this.

Where Next? Top

Trending in Wikis Top

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