Monday, June 25, 2018

Downgrade or upgrade Node.js and npm on Windows


D:\>node -v
8.9.4

D:\>nvm list

  * 8.9.4 (Currently using 64-bit executable)

D:\>nvm install 6.2.2
Downloading node.js version 6.2.2 (64-bit)...
Complete
Creating C:\Users\balag\AppData\Roaming\nvm\temp

Downloading npm version 3.9.5... Complete
Installing npm v3.9.5...

Installation complete. If you want to use this version, type

nvm use 6.2.2

D:\>nvm list

  * 8.9.4 (Currently using 64-bit executable)
    6.2.2

D:\>nvm use 6.2.2
Now using node v6.2.2 (64-bit)

D:\>nvm list

    8.9.4
  * 6.2.2 (Currently using 64-bit executable)

D:\>node -v
v6.2.2

No comments:

Post a Comment