Skip to Content
Node.js: Tools & Skills, 2nd Edition
book

Node.js: Tools & Skills, 2nd Edition

by James Hibbard, Michael Wanyoike, Nilson Jacques, Jay Raj, Manjunath M
April 2020
Intermediate to advanced
100 pages
1h 40m
English
SitePoint
Content preview from Node.js: Tools & Skills, 2nd Edition

Chapter 1: Installing Multiple Versions of Node.js Using nvm

by Michael Wanyoike and James Hibbard

When working with Node.js, you might encounter situations where you need to install multiple versions of the runtime.

For example, maybe you have the latest version of Node set up on your machine, yet the project you’re about to start working on requires an older version. Or maybe you’re upgrading an old Node project to a more modern version and it would be handy to be able to switch between the two while you make the transition.

Without a good tool, this would mean spending a lot of time and effort manually uninstalling and reinstalling Node versions and their global packages. Fortunately, there’s a better way!

Introducing nvm

nvm stands for Node ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Node.js: Related Tools & Skills

Node.js: Related Tools & Skills

Craig Buckler, Jani Hartikainen, M. David Green, Olayinka Omole, Ahmed Bouchefra, Mark Brown, Paul Sauve, Manjunath M
Mastering Node.js 12.x

Mastering Node.js 12.x

Dimitiris Loukas

Publisher Resources

ISBN: 9781098122836Errata Page