# asdf を Homebrew, apk, MacPorts, Nix, zypper でインストール

asdf のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:asdf
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install asdf
```

  証拠: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install asdf
```

  証拠: MacPorts ports tree: sysutils/asdf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add asdf
```

  証拠: Alpine Linux edge package indexes: asdf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#asdf
```

  証拠: nixpkgs package indexes: asdf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

- zypper (92%):

```sh
sudo zypper install asdf
```

  証拠: openSUSE Tumbleweed package metadata: asdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:asdf
- **パッケージマネージャ:** Homebrew
- **バージョン:** 0.20.0
- **ソース概要:** Extendable version manager with support for Ruby, Node.js, Erlang & more
- **ホームページ:** <https://asdf-vm.com/>
- **リポジトリ:** <https://github.com/asdf-vm/asdf>
- **最終更新:** 2026-07-26T13:19:52+02:00
- **生成日時:** 2026-08-03T19:37:03+00:00

## 実行可能ファイル

- asdf (エイリアス)

## インストール挙動

- Bottle: 利用不可

## バージョンと鮮度

- ページ生成日: 2026-08-03
- マネージャ版: 0.20.0
## プロジェクトの歴史と使われ方

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.

### ソース

- <https://api.github.com/repos/asdf-vm/asdf/git/tags/ae2eb8b75d07ec787e9e603cc0e89affb9c57c6f>
- <https://asdf-vm.com/>
- <https://asdf-vm.com/manage/configuration.html>
- <https://github.com/asdf-vm/asdf>
- source_facts.package-manager


## セキュリティノート

infrastructure mutation or orchestration signal.

- **Geiger リスク:** orange / 中
- infrastructure mutation or orchestration signal


## 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

- Unix: .tool-versions, ~/.asdfrc
## 他のパッケージマネージャ記録

- Nix - asdf: normalized package name match | nixpkgs package indexes: asdf from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - asdf - 0.20.0-r1: normalized package name match | Alpine Linux edge package indexes: asdf from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | The Multiple Runtime Version Manager | https://asdf-vm.com/
- apk - asdf-doc - 0.20.0-r1: normalized package name match | Alpine Linux edge package indexes: asdf-doc from https://dl-cdn.alpinelinux.org/alpine/edge/testing/x86_64/APKINDEX.tar.gz | The Multiple Runtime Version Manager (documentation) | https://asdf-vm.com/
- zypper - asdf - 0.20.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: asdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Extendable version manager | https://github.com/asdf-vm/asdf
- zypper - asdf-bash-completion - 0.20.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: asdf-bash-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Bash Completion for asdf | https://github.com/asdf-vm/asdf
- zypper - asdf-fish-completion - 0.20.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: asdf-fish-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Fish Completion for asdf | https://github.com/asdf-vm/asdf
- zypper - asdf-zsh-completion - 0.20.0-1.2: normalized package name match | openSUSE Tumbleweed package metadata: asdf-zsh-completion from https://download.opensuse.org/tumbleweed/repo/oss/repodata/50b07339cb64c8ed4091bdbabddadc1ff5737b090e478818a195b40d8a3292861a879139b4a3987c31109699fde9fbf4a716367ddf4eef77da75f96e3193d6ed-primary.xml.zst | Zsh Completion for asdf | https://github.com/asdf-vm/asdf
- MacPorts - asdf: normalized package name match | MacPorts ports tree: sysutils/asdf/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1


## Combined YAML source

View the package source record on GitHub. [combined/asdf.yml](https://github.com/mxcl/pkgdb/blob/main/combined/asdf.yml)


## ソース

- pkg.so package database
- Geiger risk classifier
- curated configuration and credential file locations
- curated package history
- pkgdb category and tag curation
- external package-manager database matches
- cross-ecosystem install command graph
