asdf
$ asdf Community Low Riskasdf manages multiple runtime and CLI versions across languages through community plugins and project .tool-versions files. Rewritten in Go in v0.16+, it removes bash performance overhead on shims, though its subcommands emit plain text without --json.
brew install asdf asdf manages local runtime installations and .tool-versions shim resolution directly on disk; MCP is not applicable.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Deterministic asdf current, asdf which, and asdf exec commands work cleanly non-interactively, though all output is plain text with no --json or --dry-run.
asdf currentandasdf listemit plain text onlyasdf execruns commands with resolved toolPATHwithout shell hooks
Keeps installations isolated in ~/.asdf/, though third-party asdf plugins execute arbitrary shell install scripts from external Git repos.
- Plugin install scripts run unsandboxed shell code from Git repositories
Go binary (v0.16+) distributed via Homebrew and GitHub releases for macOS and Linux; Windows requires WSL.
- Single Go binary on macOS/Linux; relies on POSIX shell plugins
Unifies dozens of language version managers via .tool-versions, though mise offers faster parallel installs and --json support with the same file format.
- Broad plugin ecosystem around
.tool-versions, slower thanmisenative backends
Maintained by asdf-vm (asdf-vm/asdf) under MIT license, recently modernized to Go.
- Active
asdf-vm/asdfrepository under MIT license
Clear command and migration documentation at asdf-vm.com.
- Official command docs at asdf-vm.com/manage/commands.html
Security, Auth & Guardrails
Core CLI needs no auth; GitHub-hosted plugin installs optionally read GITHUB_API_TOKEN to avoid rate limits.
MIT open-source CLI; free to use.
# asdf Agent Rules - Run `asdf current` to check active `.tool-versions` pins before executing language runtimes. - Prefer `asdf exec <cmd>` or `asdf which <bin>` if subagent shells lack `~/.asdf/shims` on `PATH`.
Agent-Ready Command Recipes
Safe Read-Only Queries
asdf current
Prints each configured plugin's active version and which .tool-versions file set it.
asdf which node
Returns the real binary path selected by .tool-versions without invoking a shim.
Controlled Writes & Previews
asdf set nodejs 22.11.0
Writes the tool version entry to the current directory's .tool-versions file (asdf 0.16+).
Strengths for Agents
- + Standard
.tool-versionsformat covers Node, Python, Ruby, Go, Terraform, and hundreds of plugins. - +
asdf execandasdf whichbypass missing shim initialization in subagent shells. - + v0.16+ Go rewrite removes legacy Bash shim dispatch latency.
Caveats & Pitfalls
- ! No
--jsonoutput or--dry-runmode on any subcommand. - ! v0.16+ replaced
asdf local/globalwithasdf set, which can cause version-skew confusion across older docs.