2016-03-30 14:05:07 +08:00
## asdf
**Maintainer:** [@RobLoach ](https://github.com/RobLoach )
Adds integration with [asdf ](https://github.com/asdf-vm/asdf ), the extendable version manager, with support for Ruby, Node.js, Elixir, Erlang and more.
### Installation
2022-10-26 03:35:30 +08:00
1. [Download asdf ](https://asdf-vm.com/guide/getting-started.html#_2-download-asdf ) by running the following:
2016-03-30 14:05:07 +08:00
```
2022-10-26 03:35:30 +08:00
git clone https://github.com/asdf-vm/asdf.git ~/.asdf
2016-03-30 14:05:07 +08:00
```
2022-10-26 03:35:30 +08:00
2. [Enable asdf ](https://asdf-vm.com/guide/getting-started.html#_3-install-asdf ) by adding it to your `plugins` definition in `~/.zshrc` .
2016-03-30 14:05:07 +08:00
```
2022-10-26 03:35:30 +08:00
plugins=(asdf)
2016-03-30 14:05:07 +08:00
```
### Usage
2022-10-26 03:35:30 +08:00
See the [asdf documentation ](https://asdf-vm.com/guide/getting-started.html#_4-install-a-plugin ) for information on how to use asdf:
2016-03-30 14:05:07 +08:00
```
2022-10-26 03:35:30 +08:00
asdf plugin add nodejs https://github.com/asdf-vm/asdf-nodejs.git
asdf install nodejs latest
asdf global nodejs latest
asdf local nodejs latest
2016-03-30 14:05:07 +08:00
```