Installation nvm manage multiple versions of the Windows nodejs

Inevitably there will be the usual node version of the requirements at work, here's a method of utilizing nvm tool to manage multiple versions of the node

  1. Download and install

Github: Download nvm-windows --- nvm-setup.zip

Installation process,  Set Node.js Symlink this step directory is set,
is when will  nvm use store your  nodejs  directory program [ C:\\DevTools\\nodejs].

nvm v # View version => 1.1 . . 1  
NVM the install Latest # download the latest node version V7. 2.0 

NVM the install  4.4 . . 4 # install different versions of 
NVM the install  6.2 . 0  32 # default is 64-bit, 32-bit required for 
NVM Uninstall 6.2 . 0 # uninstall the corresponding version

After the download is complete, in  \nvm multiple folders under  v7.2.0 a folder.

use NVM 7.2 . 0 # introduced the use of
nvm # View installed node version List

   * 7.2 . 0 (Rate this page Currently a using 64- - bit Executable)
     6.2 . 0 
    4.4 . 4

More involvement nvm -help command please check it out

Installation  cnpm

Elevation install g cnpm --registry = https: // registry.npm.taobao.org 
Elevation install g cnpm --registry = http: // r.cnpmjs.org

 

Guess you like

Origin www.cnblogs.com/fuzhengyi/p/11093128.html