How to install Node Version Manager(NVM) without admin rights

Sandra Pavan picture Sandra Pavan · Sep 6, 2018 · Viewed 7.1k times · Source

I have no admin rights in my windows machine. Can I install NVM without admin rights? I tried using the environment variable path setup, but its not working in my case.

Answer

Bligglenuber picture Bligglenuber · Sep 6, 2018

(You're talking about https://github.com/coreybutler/nvm-windows right?)

Whether you can install it without admin rights aside, the actual act of switching node versions with it requires them so you're going to have trouble.

Your best bet is to install different versions of node into different paths manually, and then configure your environment variables to point to the right one whenever you need to use it.

eg. prefix your cmd script with PATH=C:\node\v10;%PATH% to have any node or npm calls in that script use whatever node is sitting in v10