0

Basically, I installed n(tj/n)for managing my node versions, and after that I installed a node version 14.6, it automatically switched my node version to 14.6 and also try to switch my version using n command but that shows only the one that I installed with n.

So, is there any way to switch to my main node version (that's installed previously) ??

Arunava Basu
  • 35
  • 1
  • 6

1 Answers1

2

I don't know if n preserves your current node version, but if you know your previous version e.g. 12.13.0 just type

n 12.13.0

It will install and switch to 12.13.0. After the installation you can switch versions just running n.

Erwin van Hoof
  • 957
  • 5
  • 17