tldr/pages.zh/common/asdf.md

29 lines
524 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

# asdf
> 可扩展的包版本管理器支持Nodejs,Ruby,Elixir,Erlang等.
> 更多信息: <https://asdf-vm.com>.
- 可用插件清单:
`asdf plugin-list-all`
- 安装插件:
`asdf plugin-add {{插件名}}`
- 软件包的可用版本清单:
`asdf list-all {{软件包名}}`
- 安装指定版本的软件包:
`asdf install {{软件包名}} {{版本}}`
- 设置软件包的全局安装版本:
`asdf global {{软件包名}} {{版本}}`
- 设置软件包的本地版本:
`asdf local {{软件包名}} {{版本}}`