nvm.fish
is the node version manager for fish shell. Using nvm.fish
is almost the same as using nvm. The first thing to do is to install it with fisher.
After installing nvm.fish
, we can list all available node versions by typing nvm list-remote
.
Then you can choose one version and install it by typing nvm install
.
By typing nvm list
, you can see all the versions of Node.js you’ve installed in your fish shell.
Activate any version of Node.js by typing nvm use
.
Lastly, if you want to set the specific node version as the default, use set --universal nvm_default_version version
.
References