There is a modular version manager: asdf!

Posted on Nov 16, 2021

Today I learned about asdf, which is a pluggable version manager.

Previously I used nvm, rvm, swiftenv and more. I now use asdf. Just add the plugin of your choice and install your desired versions.

The only drawback is installing completely new versions of the tools. You are only able to install exact versions. You can’t install some major 16 nodejs version. But you can still install asdf install <plugin> latest or in case of nodejs lts-* versions.

Don’t forget to pick the version locally or globally.

some side-tip: there is an asdf plugin for direnv!