> For the complete documentation index, see [llms.txt](https://weerasak-chongnguluam.gitbook.io/sedoc/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://weerasak-chongnguluam.gitbook.io/sedoc/asdf.md).

# ASDF

### Install

```
> brew install asdf
```

ต้องลง GPG ด้วยสำหรับบาง plugins เช่น node <https://gpgtools.org>

### เพิ่ง config สำหรับ PATH ต่างๆใน config.fish

```
> source (brew --prefix asdf)/asdf.fish
```

### Install NodeJS plugins

```
> asdf plugin-add nodejs https://github.com/asdf-vm/asdf-nodejs.git
> ~/.asdf/plugins/nodejs/bin/import-release-team-keyring
```

### Install NodeJS and Elixir latest version

```
> asdf install elixir latest
> asdf install nodejs latest
```

### Set global version

```
> asdf global elixir 1.10.4-otp-23
> asdf global nodejs 14.8.0
```
