Installing nvm on Windows

Unfortunately, nvm does not support Windows. Fortunately, a couple of Windows-specific clones of the nvm concept exist:

Another route is to use the WSL. Because in WSL you're interacting with a Linux command line, you can use nvm itself.

Many of the examples in this book were tested using the nvm-windows application. There are slight behavior differences, but it acts largely the same as nvm for Linux and macOS. The biggest change is the version number specifier in the nvm use and nvm install commands.

With nvm for Linux and macOS one can type a simple version number, like nvm use 8, and it will automatically substitute the latest release ...

Get Node.js Web Development - Fourth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.