Based totally on the GREAT rbenv
rbenv's documentation largely applies here as well
Basic GitHub Checkout
This will get you going with the latest version of exenv and make it easy to fork and contribute any changes back upstream.
Check out exenv into
$ git clone https://github.com/exenv/exenv.git ~/.exenv
Optionally, try to compile dynamic bash extension to speed up exenv. Don't worry if it fails; exenv will still work normally:
$ cd ~/.exenv && src/configure && make -C src
$PATHfor access to the
$ echo 'export PATH="$HOME/.exenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'export PATH="$HOME/.exenv/bin:$PATH"' >> ~/.zshrc
For fish shell
$ echo 'set PATH $HOME/.exenv/bin $PATH' >> ~/.config/fish/config.fish
~/.exenv/bin/exenv initfor shell-specific instructions on how to initialize exenv to enable shims and autocompletion.
Restart your shell so that PATH changes take effect. (Opening a new terminal tab will usually do it.) Now check if exenv was set up:
$ type exenv #=> "exenv is a function"
(Optional) Install elixir-build, which provides the
exenv installcommand that simplifies the process of installing new Elixir versions
If you've installed exenv manually using git, you can upgrade your installation to the cutting-edge version at any time.
$ cd ~/.exenv $ git pull