2019-01-12 09:32:30 -07:00
|
|
|
Plugins are how asdf-vm understands handling different packages.
|
|
|
|
|
|
|
|
See [All plugins](plugins-all) for the plugins repository which lists all asdf-vm plugins we know.
|
|
|
|
|
|
|
|
See [Creating Plugins](plugins-create) for the super-simple API for supporting more languages.
|
|
|
|
|
|
|
|
## Add
|
|
|
|
|
|
|
|
```shell
|
2019-11-27 11:24:54 -07:00
|
|
|
asdf plugin add <name>
|
|
|
|
# asdf plugin add erlang
|
2019-01-12 09:32:30 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
If the plugin you want to install is not part of the plugins repository, you
|
|
|
|
can add it using its repository URL:
|
|
|
|
|
|
|
|
```shell
|
2019-11-27 11:24:54 -07:00
|
|
|
asdf plugin add <name> <git-url>
|
|
|
|
# asdf plugin add elm https://github.com/vic/asdf-elm
|
2019-01-12 09:32:30 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
## List Installed
|
|
|
|
|
|
|
|
```shell
|
2019-11-27 11:24:54 -07:00
|
|
|
asdf plugin list
|
|
|
|
# asdf plugin list
|
2019-01-12 09:32:30 -07:00
|
|
|
# java
|
|
|
|
# nodejs
|
|
|
|
```
|
|
|
|
|
|
|
|
```shell
|
2019-11-27 11:24:54 -07:00
|
|
|
asdf plugin list --urls
|
|
|
|
# asdf plugin list
|
2019-01-12 09:32:30 -07:00
|
|
|
# java https://github.com/skotchpine/asdf-java.git
|
|
|
|
# nodejs https://github.com/asdf-vm/asdf-nodejs.git
|
|
|
|
```
|
|
|
|
|
|
|
|
## Update
|
|
|
|
|
|
|
|
```shell
|
2019-11-27 11:24:54 -07:00
|
|
|
asdf plugin update --all
|
2019-01-12 09:32:30 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
If you want to update a specific package, just say so.
|
|
|
|
|
|
|
|
```shell
|
2019-11-27 11:24:54 -07:00
|
|
|
asdf plugin update <name>
|
|
|
|
# asdf plugin update erlang
|
2019-01-12 09:32:30 -07:00
|
|
|
```
|
|
|
|
|
|
|
|
## Remove
|
|
|
|
|
|
|
|
```bash
|
2019-11-27 11:24:54 -07:00
|
|
|
asdf plugin remove <name>
|
|
|
|
# asdf plugin remove erlang
|
2019-01-12 09:32:30 -07:00
|
|
|
```
|