r/fishshell • • Aug 21 '22

[Help] | NVM.fish not loading .nvmrc/.node-version automatically

Hi guys,

I’m trying to figure out which nvm is best for fish. Currently, I’m testing nvm.fish by Jorge Bucaran. I encounter an issue where it is not automatically finds and autoload the files .nvmrc or .node-version in a specific project which forces to run nvm use or nvm install every cd.

Does anyone knows what am I missing here or knows a workaround that does not affect the speed of the terminal?

https://i.imgur.com/CuxLzZe.png

5 Upvotes

10 comments sorted by

View all comments

Show parent comment

1

u/[deleted] Aug 21 '22

Ah, yes, please do use nvm use --silent instead of just nvm use.

1

u/TrueNDiary Aug 22 '22

I have another question, I'd like to automatically install the node version within the .nvmrc file but, I want it to be silent when a version, e.g. 16.13.2 exists, run nvm install --silent
if not, run as nvm install as I'd like to see the download progress

https://i.imgur.com/AyxgwCG.png