Automic VaultAutomic Vault

brew

使用 Homebrew, apk, MacPorts, Nix, zypper 安装 asdf

查看 asdf 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install asdf

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install asdf

MacPorts ports tree · sysutils/asdf/Portfile · 来源: api.github.com

概览

软件包摘要

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.

时间线

  • 2014: GitHub repository created.
  • 2016: v0.1.0 annotated as the first tagged version.
  • 2021: v0.9.0 release published.
  • 2025: v0.16.0 release published.
  • 2026: v0.19.0 release published.

Related projects

  • gvm, nvm, rbenv, and pyenv are named by the README as comparable language-specific tools.
  • asdf-plugins is the official plugin short-name index.
  • asdf-plugin-template and asdf-vm/actions support plugin creation and CI workflows.

安全态势

风险级别:orange

infrastructure mutation or orchestration signal.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • infrastructure mutation or orchestration signal

信号

  • text:version manager

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 6 个平台目标。
  • 构建元数据列出 1 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Unix
.tool-versions~/.asdfrc

可执行文件

已安装的可执行文件

命令类型暴露范围备注
asdfcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-08
管理器版本0.20.0
管理器更新时间2026-07-07
本地数据OK
上游当前
检测到的最新版本v0.20.0

https://github.com/asdf-vm/asdf

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go
Bottle可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-install未定义
服务未声明

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameasdf
Version Scheme0
Revision0
Head VersionHEAD
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • head
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

asdf

nix profile install nixpkgs#asdf
  • normalized package name match
  • 匹配方式:Asdf
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: asdf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk95%

asdf 0.18.0-r10

The Multiple Runtime Version Manager

https://asdf-vm.com/

sudo apk add asdf
  • License: MIT
  • Architecture: x86_64
  • Source Package: asdf
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Asdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: asdf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
apk95%

asdf-doc 0.18.0-r10

The Multiple Runtime Version Manager (documentation)

https://asdf-vm.com/

sudo apk add asdf-doc
  • License: MIT
  • Architecture: x86_64
  • Source Package: asdf
  • normalized package name match
  • 匹配方式:Asdf
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: asdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz
zypper95%

asdf 0.18.1-1.3

Extendable version manager

https://github.com/asdf-vm/asdf

sudo zypper install asdf
  • License: MIT
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: asdf
  • 1 依赖
  • 1 提供
  • normalized package name match
  • 匹配方式:Asdf
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: asdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
MacPorts95%

asdf

sudo port install asdf
  • normalized package name match
  • 匹配方式:Asdf
MacPorts ports tree · api.github.com · MacPorts ports tree: sysutils/asdf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment