Files
tldr/pages.zh/common/exenv.md

24 lines
558 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# exenv
> 轻松安装 Elixir 版本并管理应用程序环境。
> 更多信息:<https://github.com/mururu/exenv>。
- 显示已安装版本的列表:
`exenv versions`
- 在整个系统中使用特定版本的 Elixir
`exenv global {{version}}`
- 在当前应用程序/项目目录中使用特定版本的 Elixir
`exenv local {{version}}`
- 显示当前选择的 Elixir 版本:
`exenv {{version}}`
- 安装一个版本的 Elixir需要 `elixir-build` 插件 <https://github.com/mururu/elixir-build>
`exenv install {{version}}`