asdf/docs/core-manage-plugins.md
2019-12-08 21:18:09 -05:00

1.0 KiB

Plugins are how asdf-vm understands handling different packages.

See All plugins for the plugins repository which lists all asdf-vm plugins we know.

See Creating Plugins for the super-simple API for supporting more languages.

Add

asdf plugin-add <name>
# asdf plugin-add erlang

If the plugin you want to install is not part of the plugins repository, you can add it using its repository URL:

asdf plugin-add <name> <git-url>
# asdf plugin-add elm https://github.com/vic/asdf-elm

List Installed

asdf plugin-list
# asdf plugin-list
# java
# nodejs
asdf plugin-list --urls
# asdf plugin-list
# java            https://github.com/skotchpine/asdf-java.git
# nodejs          https://github.com/asdf-vm/asdf-nodejs.git

Update

asdf plugin-update --all

If you want to update a specific package, just say so.

asdf plugin-update <name>
# asdf plugin-update erlang

Remove

asdf plugin-remove <name>
# asdf plugin-remove erlang