Closed isleib closed 4 years ago
asdf install
does not automatically add versions to your .tool-versions
file. You need to explicitly override your .tool-versions
config with either asdf local
or asdf global
commands.
Ok, I didn't know this was intended. Feel free to close
No problem @isleib If you find any gaps in our documentation please point them out as we want the process to be smooth for all users 😄
I installed erlang, elixir, and node using asdf, with the following commands: asdf install erlang latest asdf install elixir latest asdf install node latest
I then received this error when trying to run erl, iex, or node: No preset version installed for command iex Please install a version by running one of the following:
asdf install [version for respective language which was installed by asdf (which was accurate)]
To Reproduce
Setting up initially on a fresh machine using asdf, I ran into the issue above.
Expected behavior
The
.tool-versions
should have the versions installed by the "latest" argumentActual behavior
The
.tool-versions
file had a previous versionEnvironment
OS:
Linux pop-os 5.4.0-7634-generic x86_64 x86_64 x86_64 GNU/Linux
asdf version:
v0.8.0-rc1-e0142ee
asdf plugins affected (if relevant):
N/A
asdf plugins installed: