For managing different versions of python we have pyenv, for node we have nodenv, nvm, for ruby we have rbenv, rvm. asdf provides a unified interface to these *env
,*vm
tools.
asdf is not only limited to python, nodejs, ruby. It can work for other programming languages. asdf plugin list all
lists the plugins supported by asdf for various programming languages and frameworks.
asdf works with .tools-versions
as configuration very similar to .python-version
of pyenv, .node-version
of nodenv, .ruby-version
of rbenv.
asdf provides support for pyenv, nodenv through its plugin ecosystem.
asdf plugin add python
installs python plugin for asdf.
asdf install python <version>
- Install a specific versionasdf global python <version>
- Set global versionasdf local python <version>
- Writes the version to.tool-versions
All the asdf commands can be found here