I tested several tools try to manage node.js versions. Finally, I found that a tool called n (https://www.npmjs.com/package/n) was really useful.
N is a Node.js version manager. It allows you to easily install, update, and uninstall different versions of Node.js. It also allows you to switch between different versions of Node.js with ease. N is a great tool for developers who need to work with multiple versions of Node.js.
Install n.
curl -L https://git.io/n-install | bash
Those are some useful commands:
n <version>
n latest
n update
n -s latest
n uninstall <version>
n uninstall latest
Comments
Post a Comment