Changing node version with "nvm use <version>" not changed after I re open terminal window

Viewed 955

In oh-my-zsh file I added nvm by changing the line in the .zshrc file.

plugins=(git nvm) // added nvm

so now I see nvm and use it from the terminal

but when I change the version seen below.

enter image description here

Then I close the terminal and open a new one and check the version and it still shows using the previous version! It hasn't kept the change.

New window

enter image description here

1 Answers

try to run this command

nvm i v12.18.1

then

nvm alias default v12.18.1
Related