nvm-windows 最新下載地址:
https://github.com/coreybutler/nvm-windows/releasesnode
安裝完nvm以後輸入nvm list
以下:git
PS C:\Users\Administrator\Desktop\nodejs> nvm list No installations recognized.
運行nvm install 8.11.4 64-bit
github
PS C:\Users\Administrator\Desktop\nodejs> nvm install 8.11.4 64-bit Downloading node.js version 8.11.4 (64-bit)... Complete Creating D:\Node\nvm\temp Downloading npm version 5.6.0... Complete Installing npm v5.6.0... Installation complete. If you want to use this version, type nvm use 8.11.4
nvm use 8.11.4
,使用8.11.4版本的node環境 PS C:\Users\Administrator\Desktop\nodejs> nvm use 8.11.4 Now using node v8.11.4 (64-bit)
PS C:\Users\Administrator\Desktop\nodejs> node -v v8.11.4 PS C:\Users\Administrator\Desktop\nodejs> npm -v 5.6.0