Install asdf to manage versions of:
asdf
runs shell scripts cloned from arbitrary git repositories. Scripts
will have the same capabilities as the user running the program. For
example, a malicious script could read and upload your ssh keys.
asdf plugin list all
download asdf and copy to $PATH
update .profile and environment variables
echo -e '\nexport PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"' >> ~/.profile
export PATH="${ASDF_DATA_DIR:-$HOME/.asdf}/shims:$PATH"
echo -e '\n. <($HOME/bin/asdf completion bash)' >> ~/.bashrc
asdf plugin add erlang
asdf list all erlang
asdf install erlang $(asdf latest erlang)
asdf set --home erlang $(asdf latest erlang)
asdf plugin add elixir
asdf list all elixir
asdf install elixir $(asdf latest elixir)
asdf set --home elixir $(asdf latest elixir)
asdf plugin add go https://github.com/asdf-community/asdf-golang.git
asdf list all go
asdf install go $(asdf latest go)
asdf set --home go $(asdf latest go)
asdf plugin add golangci-lint
asdf list all golangci-lint
asdf install golangci-lint $(asdf latest golangci-lint)
asdf set --home golangci-lint $(asdf latest golangci-lint)
asdf plugin add rust
asdf list all rust
asdf install rust $(asdf latest rust)
asdf set --home rust $(asdf latest rust)
asdf plugin add zig
asdf list all zig
asdf install zig $(asdf latest zig)
asdf set --home zig $(asdf latest zig)
asdf plugin add gleam
asdf list all gleam
asdf install gleam $(asdf latest gleam)
asdf set --home gleam $(asdf latest gleam)
$ asdf list
asdf plugin update --all
(markdown)