Manage Elixir versions like RVM & Rbenv

dmdropkick

Dmitry Voronov

Posted on July 3, 2019

Manage Elixir versions like RVM & Rbenv

You can install different versions of the Elixir with help of Kiex, like in Ruby with a RVM and Rbenv.

Download and install Kiex

\curl -sSL https://raw.githubusercontent.com/taylor/kiex/master/install | bash -s
Enter fullscreen mode Exit fullscreen mode


bash

In .bashrc (or .zshrc if you use z shell), add the following

[[ -s "$HOME/.kiex/scripts/kiex" ]] && source "$HOME/.kiex/scripts/kiex"
Enter fullscreen mode Exit fullscreen mode


bash

Install required Elixir

kiex install 1.7 # or another version
Enter fullscreen mode Exit fullscreen mode


bash

And then you can use any version

kiex use 1.7
Enter fullscreen mode Exit fullscreen mode


bash

馃挅 馃挭 馃檯 馃毄
dmdropkick
Dmitry Voronov

Posted on July 3, 2019

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related