NodeJs安裝步驟 windowS下
注意:之前安裝過NodeJS的先解除安裝。
Windows作業系統的nvm下載地址https://github.com/coreybutler/nvm-windows/releases
安裝過程




nvm配置淘寶映象(下載更快)
修改D:\dev\nvm\settings.txt root: D:\dev\nvm path: D:\dev\nodejs **node_mirror: npm.taobao.org/mirrors/nod… ** npm_mirror: npm.taobao.org/mirrors/npm…
通過nvm安裝某版本的nodejs集(node、npm(nodejs包管理工具))
64位系統:CMD執行nvm install 6.9.2 32位系統:CMD執行nvm install 6.9.2 32 注意:其中6.9.2表示安裝node版本為6.9.2,這裡npm是包含在node中的不需要單獨安裝
安裝6.9.2和4.6.0如圖所示

使用並切換node版本如圖所示

npm設定淘寶映象(下載更快)
npm config set registry registry.npm.taobao.org
