Skip to content

Instantly share code, notes, and snippets.

@kbeckman
Last active June 18, 2020 20:00
Show Gist options
  • Save kbeckman/7e899b47a47cde2bfa06c99bd96e1180 to your computer and use it in GitHub Desktop.
Save kbeckman/7e899b47a47cde2bfa06c99bd96e1180 to your computer and use it in GitHub Desktop.
asdf Version Manager

asdf Version Manager

Installation

brew install asdf

# Required for installing / compiling Erlang documentation...
brew install autoconf wxmac
export KERL_CONFIGURE_OPTIONS="--disable-debug --without-javac"

Plugin Management

# Install a new plugin (i.e. nodejs ruby elixir golang)...
asdf plugin-add $plugin_name

# Update all installed plugins...
asdf plugin-update --all

# List all installed plugins...
asdf plugin-list

Ruby

Helpful commands for Ruby projects for troubleshooting / configuration...

bundle env
gem environment

NodeJS

Install NodeJS OpenPGP keys...

bash /usr/local/opt/asdf/plugins/nodejs/bin/import-release-team-keyring

Upgradging via Homebrew

brew upgrade asdf

asdf plugin-add elixir
asdf plugin-add erlang
asdf plugin-add node
asdf plugin-add ruby

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