Skip to content

Instantly share code, notes, and snippets.

@sgobotta
Created May 26, 2021 23:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sgobotta/514a3e452f7bc37c558fc93a2768ccd2 to your computer and use it in GitHub Desktop.
Save sgobotta/514a3e452f7bc37c558fc93a2768ccd2 to your computer and use it in GitHub Desktop.
Just an asdf cheatsheet

Asdf cheatsheet

Tool Installation

Clone the repository

git clone https://github.com/asdf-vm/asdf.git ~/.asdf
cd ~/.asdf
git checkout "$(git describe --abbrev=0 --tags)"

Add the following to ~/.bashrc:

Check this out for more shells

. $HOME/.asdf/asdf.sh

Elixir

Ubuntu/Debian

Get the plugins list

asdf plugin list all          

Add the elixir plugin

asdf plugin add elixir

Install a desired version

asdf install elixir 1.11.2

Set the version as global

asdf global elixir 1.11.2

Check the current elixir version

asdf global elixir 1.11.2   
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment