talira

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 toolplan not known
Takes pluginsplan not known

Alternatives

The same job

These do what asdf does.

  1. mise dev tools, env vars, task runner
  2. pyenv Simple Python version management
  3. proto A pluggable multi-language version manager.
  4. FVM Simple Flutter Version Management
  5. ruby-build Download, compile, and install Ruby on Unix-like systems
  6. Hermit Isolated, self-bootstrapping sets of tools for each software project

Compare asdf with the top 3