DEV Community

Discussion on: July 29th, 2022: What did you learn this week?

Collapse
 
majovamartina profile image
Martina Majova

Today I learned that after installing Node.js I need to reboot to use npm. It might be obvious for experienced people, but not for beginners like me.

Collapse
 
nickytonline profile image
Nick Taylor

I don't remember having to reboot after installing Node.js but maybe you're on Windows?

Thinking emojis floating around

Also, there are node version managers like nvm which you may find handy.

GitHub logo coreybutler / nvm-windows

A node.js version management utility for Windows. Ironically written in Go.

NVM for Windows

The Microsoft/npm/Google recommended Node.js version manager for Windows.
This is not the same thing as nvm! (expand for details)

The original nvm is a completely separate project for Mac/Linux only. This project uses an entirely different philosophy and is not just a clone of nvm. Details are listed in Why another version manager? and what's the big difference?.

Download Now GitHub tag (latest SemVer) GitHub Release Date GitHub all releases Discuss Twitter URL

Sponsors
 

Running into issues? See the common issues wiki.

Seeking Feedback:

We're working on Runtime (rt), the successor to NVM For Windows. Please contribute by taking a minute to complete this form. Thank you

Overview

Manage multiple installations of node.js on a Windows computer.

tl;dr Similar (not identical) to nvm, but for Windows. Has an installer. Download Now!

This has always been a node version manager, not an io.js manager, so there is no back-support for io.js. Node 4+ is…

Collapse
 
majovamartina profile image
Martina Majova

Oh yes, another mistake of mine is still using Windows... Thank you for the links, I will look into it!