nvm icon indicating copy to clipboard operation
nvm copied to clipboard

On Windows11, how to install nvm in Users profile?

Open dimeonureke opened this issue 1 year ago • 5 comments
trafficstars

There is a laptop with two profiles, Admin and User, OS is Windows 11. How to install nvm CORRECTLY in user's profile? I tried several ways, however, I could not manage to solve the problem... Google and Chatgpt did not help. If I install nvm in Admin profile, everything is OK. Please help! Thank you in advance!

dimeonureke avatar Aug 12 '24 09:08 dimeonureke

nvm only supports windows on git-bash, cygwin, and WSL2, all of which should work properly with the install script.

ljharb avatar Aug 12 '24 09:08 ljharb

Question is about permison of permitions (UAC), not about installation CLI.

dimeonureke avatar Aug 12 '24 10:08 dimeonureke

I'm not sure what you mean. What shell are you trying to install nvm on where permissions come up at all?

ljharb avatar Aug 12 '24 10:08 ljharb

cmd, git and powershell. The problem is about UAC. When I type "nvm use node..." in CLI, the permission windows appears and asks enter administrator's password. Although, I gave permission by R-Click on Program Files -> Properties -> Security Tab.

dimeonureke avatar Aug 12 '24 11:08 dimeonureke

nvm doesn't work in cmd.exe or powershell. Are you perhaps using nvm-windows, which is an entirely different project?

ljharb avatar Aug 13 '24 02:08 ljharb