2020-11-04 14:12:56 -06:00
|
|
|
# asdf
|
|
|
|
|
2021-08-02 04:41:09 -04:00
|
|
|
> 可扩展的包版本管理器,支持 Nodejs、Ruby、Elixir 和 Erlang 等。
|
2025-03-25 22:02:12 -03:00
|
|
|
> 更多信息:<https://asdf-vm.com/manage/commands.html>.
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2021-08-02 04:41:09 -04:00
|
|
|
- 可用插件清单:
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2024-01-01 10:38:53 +01:00
|
|
|
`asdf plugin list all`
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2021-08-02 04:41:09 -04:00
|
|
|
- 安装插件:
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2024-01-01 10:38:53 +01:00
|
|
|
`asdf plugin add {{插件名}}`
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2021-08-02 04:41:09 -04:00
|
|
|
- 软件包的可用版本清单:
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2024-01-01 10:38:53 +01:00
|
|
|
`asdf list all {{软件包名}}`
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2021-08-02 04:41:09 -04:00
|
|
|
- 安装指定版本的软件包:
|
2020-11-04 14:12:56 -06:00
|
|
|
|
|
|
|
`asdf install {{软件包名}} {{版本}}`
|
|
|
|
|
2021-08-02 04:41:09 -04:00
|
|
|
- 设置软件包的全局安装版本:
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2025-03-25 22:02:12 -03:00
|
|
|
`asdf set -u {{软件包名}} {{版本}}`
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2021-08-02 04:41:09 -04:00
|
|
|
- 设置软件包的本地版本:
|
2020-11-04 14:12:56 -06:00
|
|
|
|
2025-03-25 22:02:12 -03:00
|
|
|
`asdf set {{软件包名}} {{版本}}`
|