asdf Multi-tool version manager
Light · Postcard
102 × 152 mm · PDF
Dark · Postcard
102 × 152 mm · PDF
Ink saver · Postcard
102 × 152 mm · PDF
Light · A4 landscape
297 × 210 mm · PDF
Dark · A4 landscape
297 × 210 mm · PDF
Ink saver · A4 landscape
297 × 210 mm · PDF
Light · A3 landscape
420 × 297 mm · PDF
Dark · A3 landscape
420 × 297 mm · PDF
Ink saver · A3 landscape
420 × 297 mm · PDF
Start here
asdf plugin add <name>
asdf list all <name>
asdf install <name> <version>
asdf set <name> <version>
asdf currentasdf list <name>
asdf installasdf which <command>
Concepts
- Plugin knows the tool
- Installed version in the data dir
- .tool-versions per directory
- Command resolved version
Plugins
asdf plugin add <name>
asdf plugin add <name> <git-url>
asdf plugin list
asdf plugin list --urls --refs
asdf plugin list all
asdf plugin update --all
asdf plugin update <name>
asdf plugin remove <name>
Install versions
asdf list all <name>
asdf list all <name> <prefix>
asdf install <name> <version>
asdf install <name> latest
asdf install <name> latest:<prefix>
asdf install <name>
asdf installasdf latest <name>
asdf latest --all
asdf uninstall <name> <version>
asdf help <name> [<version>]
Select versions
asdf set <name> <version>
asdf set -u <name> <version>
asdf set -p <name> <version>
asdf set <name> <version>
<fallback>
asdf currentasdf current <name>
asdf list <name>
asdf list <name> <prefix>
asdf where <name> [<version>]
asdf which <command>
Shims and utilities
asdf reshim <name> <version>
asdf exec <command>
asdf env <command>
asdf shimversions <command>
asdf infoasdf version| Line | Meaning |
|---|---|
nodejs 22.4.0 |
Exact version |
python 3.12.4 3.11.9 |
First found wins, rest fallback |
ruby latest |
Resolved at use time |
golang system |
Use the system binary |
# note |
Comment |
Recipes
asdf plugin add nodejsasdf install nodejs latest:22asdf set nodejs 22.4.0asdf current
# add every plugin named in .tool-versionscut -d' ' -f1 .tool-versions | grep -v '^#' | xargs -n1 asdf plugin addasdf install
asdf plugin update --allasdf latest --all
asdf list nodejsasdf uninstall nodejs 18.20.0asdf reshim nodejs



