依赖
此列表适用于 asdf 版本 0.16.0 及更高版本。旧版本的 asdf 具有额外的依赖。
asdf 本身需要安装以下内容:
- Bash 版本
3.2.48
- Git 版本
1.7.7.2
注意
请注意,asdf 插件可能需要在使用前安装额外的程序。请阅读插件文档,并确保已安装所有插件所需的依赖,然后再安装插件。
安装
如果需要手动安装 asdf 的依赖,请根据操作系统运行以下命令。
操作系统 | 包管理器 | 命令 |
---|---|---|
linux | Aptitude | apt install git bash |
linux | DNF | dnf install git bash |
linux | Pacman | pacman -S git bash |
linux | Zypper | zypper install git bash |
macOS | Homebrew | brew install coreutils git bash |
macOS | Spack | spack install coreutils git bash |
注意
取决于你的系统配置,可能会需要 sudo
。