macOS
brew install asdflocal Homebrew formula metadata
sudo port install asdfMacPorts ports tree · sysutils/asdf/Portfile · 来源: api.github.com
安装
brew install asdflocal Homebrew formula metadata
sudo port install asdfMacPorts ports tree · sysutils/asdf/Portfile · 来源: api.github.com
sudo apk add asdfAlpine Linux edge package indexes · asdf · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#asdfnixpkgs package indexes · asdf · 来源: raw.githubusercontent.com
sudo zypper install asdfopenSUSE Tumbleweed package metadata · asdf · 来源: download.opensuse.org
概览
Extendable version manager with support for Ruby, Node.js, Erlang & more
历史
asdf is an extensible multi-runtime version manager built around one CLI, one per-project `.tool-versions` file, and a plugin system for languages and tools. It became a package-manager favorite because it replaces a pile of language-specific version managers with a single shim and plugin workflow.
The repository was created in 2014 and the README frames asdf as a response to the proliferation of tools such as gvm, nvm, rbenv, and pyenv. Its bundled 'Ballad of asdf' says the author wrote one more version manager after installing many language-specific managers and learning many command sets.
The first tagged version, v0.1.0, was annotated in July 2016. From there asdf grew as a shell-based version manager with plugins, shims, and a shared `.tool-versions` file. Release metadata shows v0.9.0 in 2021 and a rapid 0.10+ to 0.19 series through 2026.
asdf's adoption comes from the plugin model. The official README advertises one CLI for multiple languages, consistent commands, one global config, per-project `.tool-versions`, support for legacy files such as `.node-version`, `.nvmrc`, and `.ruby-version`, and automatic switching as users move between directories.
The input package facts list Alpine, Homebrew, MacPorts, Nix, and openSUSE packaging. In practice, many users also install it directly from Git, then use package-managed plugins for runtimes through asdf's own plugin index and community plugins.
A typical workflow is to install asdf, add a plugin such as Node.js or Ruby, install one or more versions, and set versions globally or in a project. The `.tool-versions` file records tool names and versions, while `~/.asdfrc` holds user-specific settings such as legacy version file behavior, plugin repository sync timing, and concurrency.
asdf is significant because it turns language runtime installation into a plugin packaging problem. It competes with language-native version managers, distro packages, and newer tools, but its stable `.tool-versions` convention became a common project-level contract across mixed-language repositories.
安全态势
infrastructure mutation or orchestration signal.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
.tool-versions~/.asdfrc可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
asdf | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/asdf-vm/asdf
安装元数据
| 软件包键 | brew:asdf |
|---|---|
| 版本 | 0.20.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/asdf |
| 主页 | https://asdf-vm.com/ |
| 仓库 | https://github.com/asdf-vm/asdf |
| 上游文档 | https://asdf-vm.com/guide/getting-started.html |
| 许可证 | MIT |
| 源码归档 | https://github.com/asdf-vm/asdf/archive/refs/tags/v0.20.0.tar.gz |
| 最后更新 | 2026-07-07T15:31:48Z |
| Pulse | updated |
| 构建依赖 | go |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | asdf |
| Version Scheme | 0 |
| Revision | 0 |
| Head Version | HEAD |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
asdf
nix profile install nixpkgs#asdfasdf 0.18.0-r10
The Multiple Runtime Version Manager
sudo apk add asdfasdf-doc 0.18.0-r10
The Multiple Runtime Version Manager (documentation)
sudo apk add asdf-docasdf 0.18.1-1.3
Extendable version manager
https://github.com/asdf-vm/asdf
sudo zypper install asdfasdf
sudo port install asdf来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.