Forrest logo
back to the asdf tool

asdf:tldr:3dc70

asdf: Set global version for a package.
$ asdf global ${name} ${version}
try on your machine

The command "asdf global ${name} ${version}" is used to set the global version of a particular software managed by the "asdf" (version manager) tool.

Here's what each part of the command means:

  • "asdf": It refers to the "asdf" command-line tool, which is a version manager used to manage multiple runtime versions (e.g., programming languages, databases, etc.) on a single system.

  • "global": This is a command option that specifies that we want to set the global version for the specified software.

  • "${name}": This is a placeholder that represents the name of the software whose global version we want to set. You need to replace "${name}" with the actual name of the software.

  • "${version}": Similarly, this is a placeholder that represents the version of the software we want to set as the global version. You need to replace "${version}" with the actual version number.

By running this command, "asdf" will set the specified software's version as the global version, which means it will be used as the default version for any projects or programs unless explicitly overridden locally.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the asdf tool