Pazzilivo
Pazzilivo

Reputation: 526

How to use nvm to upgrade Node.js

Now I use Node.js in version 0.10.21, how to upgrade to v0.10.23 with out reinstall the whole Node.js and global NPM packages.

Upvotes: 0

Views: 869

Answers (2)

igmuska
igmuska

Reputation: 51

Use Node Version Manager to keep old Node versions and installing newer versions: https://github.com/creationix/nvm#node-version-manager- Then just follow the README to install other Node and npm versions...

Upvotes: 0

Ryan W
Ryan W

Reputation: 6173

you can try following command which provided from nvm

nvm copy-packages <version> //Install global NPM packages contained in <version> to current version

Upvotes: 1

Related Questions