asdf-vm

One Version Manager to rule them all

Jared Szechy

Install

$ brew install asdf

.bashrc / .zshrc

. $(brew --prefix asdf)/asdf.sh
asdf-vm.com/#/core-manage-asdf-vm?id=install

Plugins

Each language/application has its own plugin. Currently over 200 plugins published.

$ asdf plugin-list-all
asdf-vm.com/#/plugins-all

Ruby

$ asdf plugin-add ruby
$ asdf install ruby 2.7.1
$ cat ~/.default-gems
bundler
pry
rubocop
github.com/asdf-vm/asdf-ruby

Node

$ asdf plugin-add nodejs
$ bash -c '${ASDF_DATA_DIR:=$HOME/.asdf}/plugins/nodejs/bin/import-release-team-keyring'
$ asdf install nodejs 12.18.3
$ cat ~/.default-npm-packages
http-server
npm-merge-driver
sass-lint
serverless
yarn
github.com/asdf-vm/asdf-nodejs

Usage

Global default

$ asdf global ruby 2.7.1

Shims

$ asdf reshim ruby

Config file

$ cat ~/.asdfrc
legacy_version_file = yes
always_keep_download = yes

Questions? Demo?

asdf-vm.com