Forrest logo
back to the exenv tool

exenv:tldr:3f0b6

exenv: Use a specific version of Elixir across the whole system.
$ exenv global ${version}
try on your machine

The command "exenv global ${version}" is used to set the global version of the Elixir programming language.

Here's how it works:

  • "exenv" is a command-line tool used for managing different versions of Elixir. It allows you to easily switch between different Elixir versions on the same machine.

  • "global" is a subcommand of "exenv" that is used to set the global Elixir version. The global version is the default version of Elixir that will be used in your system unless explicitly overridden.

  • "${version}" is a placeholder that should be replaced with the desired version number of Elixir. For example, if you want to set the global version to be Elixir 1.10.4, you would replace "${version}" with "1.10.4" in the command.

By running this command and specifying a specific Elixir version, you are instructing "exenv" to make that version the default for your system. This means that whenever you run Elixir commands or start an Elixir project, it will use the specified version unless you override it locally for a specific project.

Note that this command is dependent on having "exenv" and its corresponding plugins properly installed and configured on your system.

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 exenv tool