At first, I do nvm current, it outputs version 17.
Then, I do nvm alias default 16 to change default version to 16
Check if it worked on Apple Terminal: enter nvm current-> it outputs 16 as expected. echo $PATH shows version 16 is added.
However, with Terminus, when I type nvm current on a new shell -> it outputs 17. Not expected. echo $PATH shows version 17 is still the one. nvm list shows current version is 17 and default version is 16. Despite that, opening a new shell fails to load version 16 as current.
As a mac user and having installed everything the regular way, my default shell is zshell and I have those lines in my
.zprofile
:which is the default installation.
Steps to reproduce issue:
nvm current
, it outputs version17
.nvm alias default 16
to change default version to16
nvm current
-> it outputs16
as expected.echo $PATH
shows version 16 is added.nvm current
on a new shell -> it outputs17
. Not expected.echo $PATH
shows version 17 is still the one.nvm list
shows current version is17
and default version is16
. Despite that, opening a new shell fails to load version16
as current.My nvm version is
0.39.0
.Any ideas how to solve it?