Fl4m3Ph03n1x

Fl4m3Ph03n1x

Elixir version manager for Windows?

Background

I am trying to develop an elixir desktop app for windows. While installing a static version of Elixir can help me for a while, I often try new versions and I like to keep my projects up to date. So clearly I need several versions of Elixir as I have multiple projects.

Problem? I use Windows…

Research

Normally I would code in some Linux variant, install asdf and be happy with it.
However asdf does not have support for Windows. If it supports Windows then it is not documented in their official webpage.

To try an find an alternative I read a few posts about which Version Managers were the most popular within the community:

However, most of them offer solutions for Linux and MacOS only.

To be fair, there was a PR to add support to asdf for Windows, however I found no documentation online on how to make use of this to setup a windows machine:

For those of you wondering, I have installed Elixir in my machine via chocolatey:

Which is the closest thing to Linux I can get on a Windows system. If chocolatey had more versions of Elixir perhaps I could consider this an option, unfortunately they only offer one.

Questions

  • Does anyone know of a working version manager for Windows?
  • If not, how can I install asdf in Windows?

Most Liked

crispinb

crispinb

Just in case anyone revisits this via a search.

Scoop does handle multiple versions quite nicely (see FAQ · ScoopInstaller/Scoop Wiki · GitHub). Whoever looks after the scoop elixir & erlang manifests is doing a great job of keeping it up to date.

The major limitation compared to asdf is that scoop doesn’t handle per-project version configuration, so you have to scoop reset [app]@[version] to switch the version globally.

dominicletz

dominicletz

Creator of Elixir Desktop

I’ve got half a dozen Erlang installations & builds that I switch between manually by setting the windows PATH variable. Not very convenient either. Let me know @Fl4m3Ph03n1x if you find a good windows tool.

Where Next?

Popular in Discussions Top

New
CharlesO
Erlang :list.nth simple, but 1 - based nth(1, [H|_]) -> H; nth(N, [_|T]) when N > 1 -> nth(N - 1, T). Elixir Enum.at … coo...
New
restack_oslo
Hello, Please pardon me for any faux paux. I am 46 and this is my first time on a forum of any kind. I wanted to to get answers from tho...
New
MarioFlach
Hello, I want to share a project I’ve been working on for a while: https://github.com/almightycouch/gitgud Background Some time ago I ...
New
chuck
Let me start by stating an assumption: Phoenix is a great approach to building REST APIs. There are many reasons for this, but I will ass...
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
lucaong
Hello Elixir and Nerves community, I have been working for a while on an open-source embedded key-value database for Elixir, that I call...
230 14362 124
New

Other popular topics Top

JakeBecker
TL;DR: I’ve just released an implementation of Microsoft’s IDE-independent Language Server Protocol for Elixir. It adds language support ...
1144 54996 245
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
aadeshere1
I have a another noob question about loop. Since elixir is immutable, while loop is not directly possible. total = 10 while total != 0 ...
New
dblack
I’ve got an issue with an app and I’ve no idea of how to troubleshoot it. I’m hoping someone here might have seen something similar. I p...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

We're in Beta

About us Mission Statement