0

I updated my node version from 8.x.x to 13.x.x using the cmds below:

nvm install stable

Running node -v immediately after this, shows the updated version. But re-opening the terminal the older version of node persists.

I had to do: nvm use 13 to enable node 13.x.x

What is the ideal way to keep using the latest node version with explicitly using nvm use every time?

Abrar
  • 5,956
  • 8
  • 26
  • 38

1 Answers1

0
nvm alias default 13

This solved the issue and set the node version permanent to 13.x.x

Abrar
  • 5,956
  • 8
  • 26
  • 38