asdf/docs/core-manage-plugins.md
2020-02-14 17:14:33 +11: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/halcyon/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