jorgebucaran / nvm.fish

The Node.js version manager you'll adore, crafted just for Fish
https://git.io/nvm.fish
MIT License
2.06k stars 69 forks source link

note to self - persist across shells #214

Closed ElijahLynn closed 11 months ago

ElijahLynn commented 11 months ago

Somehow I must not be following instructions right because I got confused. These are notes for the next time I run into issues.

I was having issues with npm not persisting and finally read far enough down on the readme to realize I needed to set an environment variable to set --universal nvm_default_version v18.4.0 for some reason I was thinking there was an nvm default latest etc.

Next, I ran that in a new shell, so npm wasn't available then, so I had to open a new shell and npm was available then.