Posted 11/10/2024
NVM and FNM basic commands
Most of the nvm commands works with fnm.
FNM setup
Bash
Add the following to your .bashrc profile:
eval "$(fnm env --use-on-cd --shell bash)"
check version
node -v || node --version
list installed versions (via nvm/fnm)
nvm ls
To list available remote versions on Windows
nvm list available
install a specific version
nvm install 18.19.1
switch version
nvm use 18.19.1
set default version
nvm alias default 18.19.1
end of execution of a command
ctrl + c