# 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/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

## パッケージ情報

- **パッケージキー:** brew:asdf
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/asdf>
- **バージョン:** 0.20.0
- **ソース概要:** Extendable version manager with support for Ruby, Node.js, Erlang & more
- **ホームページ:** <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
- **生成日時:** 2026-07-08T18:08:21+00:00

## 実行可能ファイル

- asdf (cli)
- asdf (エイリアス)

## ビルド依存関係

- go

## インストール挙動

- post-install フック: 未定義
- Bottle: 利用可能 対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-07-08
- マネージャ版: 0.20.0
- マネージャ更新日: 2026-07-07
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/asdf-vm/asdf
- 検出された最新: v0.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
## ソースデータベース詳細

- **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:** head, stable

## 他のパッケージマネージャ記録

- 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.18.0-r10: 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.18.0-r10: 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.18.1-1.3: normalized package name match | openSUSE Tumbleweed package metadata: asdf from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst | Extendable version manager | 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


## 関連リンク

- [Secret-risk packages](https://www.automicvault.com/ja/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/ja/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Text processing packages](https://www.automicvault.com/ja/pkg/text-processing-tools/) - Matched text, document, or structured-data processing metadata.
- [Developer build packages](https://www.automicvault.com/ja/pkg/developer-build-tools/) - Matched build, compiler, generator, or developer workflow metadata.
- [go](https://www.automicvault.com/ja/pkg/brew/go/) - Build dependency declared by Homebrew.
- [anyenv](https://www.automicvault.com/ja/pkg/brew/anyenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [aqua](https://www.automicvault.com/ja/pkg/brew/aqua/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [bob](https://www.automicvault.com/ja/pkg/brew/bob/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [fnm](https://www.automicvault.com/ja/pkg/brew/fnm/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [frum](https://www.automicvault.com/ja/pkg/brew/frum/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [fvm](https://www.automicvault.com/ja/pkg/brew/fvm/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [ghcup](https://www.automicvault.com/ja/pkg/brew/ghcup/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [goenv](https://www.automicvault.com/ja/pkg/brew/goenv/) - Shares av.db curated category or tags: cli, developer-tools, version-manager.
- [vfox](https://www.automicvault.com/ja/pkg/brew/vfox/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, manager, more.
- [nave](https://www.automicvault.com/ja/pkg/brew/nave/) - Both packages touch the same language runtime or ecosystem. Shared terms: cli, developer, developer-tools, manager, node.

## Combined YAML source

View the package source record on GitHub. [combined/asdf.yml](https://github.com/automic-vault/db/blob/main/combined/asdf.yml)


## ソース

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