One of the most useful package in NodeJS is a package called n
.
Yes you heard it right it has name n
HOW TO INSTALL?
npm install -g n
HOW TO USE?
sudo n <version_to_use>
Here if the proposed version is not present, it will download it and switch to it then.
Thank you for reading "How to switch between different Nodejs versions?."
Subscribe via email or RSS feed to be the first to receive my content.
If you liked this post, check out my featured posts or learn more about me.