asdf-global
Asdf is an all-in-one tool manager designed to replace individual language specific version managers such as pyenv, nvm, rbenv, etc.
The asdf-global
resource loads installed tools globally for
the user by adding it to the .tool-versions
located in the users $HOME
directory. In asdf, installed
tools must be added to a .tool-versions
file for that tool to be available in that
directory or any subdirectories. Tools that are not loaded are not available.
See the main page for an overview of the various asdf resources.
Parameters:
-
plugin: (string, required) The name of the asdf plugin. The plugin must already be installed on the system using
asdf.plugin
orasdf-plugin
. -
version: (array[string], required) The version of the tool to load. The version must already be installed on the system. Install tool versions using the
asdf-plugin
orasdf-install
resources.
Example usage:
Install asdf and load golang:
Dependencies:
asdf-global has a hard dependency on asdf being installed on the system already or
asdf
being in the config.
asdf-global also requires that the plugin and tool version be already installed on the system.
Plugins and tools can be installed using
asdf-plugin
or
asdf-install
.