controlling NodeJS versions with nvm

NodeJS comes with different versions. Each version bundles the npm as well. For example, NodeJS v15 comes with NPM v7, while NodeJS v14 comes with NPM v6. Here's an overview.

When working on multiple projects, I've found it handy to switch between multiple NodeJS versions. That's when nvm comes into play. nvm also supports .nvmrc to further automate the switching.

Would you like to connect? Subscribe via email or RSS , or follow me on Twitter!