Manage multiple runtime versions with a single CLI tool, extendable via plugins
open sourceMITself-hostablefree
asdf manages multiple language runtime versions per project through one CLI and a single .tool-versions file. Each language is added through a plugin, and it reads existing .node-version, .nvmrc and .ruby-version files for migration. It switches versions automatically as you move between directories.
Ways to install
Package managers
Problems it solves
- I need nvm for Node, rbenv for Ruby and pyenv for Python, and that's too many tools
- one file in the repo that says which runtime versions this project uses
- switch Elixir and Erlang versions per project
- my team keeps running different Node versions and getting different results
- add version management for an obscure tool through a plugin
- versions should change automatically when I cd between projects
- migrate from .nvmrc and .ruby-version without rewriting them
- install several versions of the same language side by side
Features
- single CLI for all languages
- .tool-versions per project
- plugin system
- legacy version file support
- shell completions
Capabilities
| Has a command line tool | plan not known |
|---|---|
| Takes plugins | plan not known |
Alternatives
The same job
These do what asdf does.
- mise dev tools, env vars, task runner
- pyenv Simple Python version management
- proto A pluggable multi-language version manager.
- FVM Simple Flutter Version Management
- ruby-build Download, compile, and install Ruby on Unix-like systems
- Hermit Isolated, self-bootstrapping sets of tools for each software project