-
-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Description
Operating system and version:
Windows version 11
nvm debug
output:
nvm ls
output:
How did you install nvm
?
Windows installer nvm-setup.exe, required assistance from my IT dept windows administrator user to provided credentials to complete the installation.
Note the installation process wanted the nvm directory to be placed under the administrator user's AppData directory. I changed that to place it under my own AppData directory before continuing the installation.
What steps did you perform?
After nvm installation completed, I used the command nvm install to install three different node versions. All successful.
What happened?
After installing three versions of node any attempt to issue the command nvm use results in the request for admin credential to entered. As I do not have admin privilege for my computer, I would have to enter a helpdesk ticket and wait for assistance to use this command.
What did you expect to happen?
I expected the nvm use to set the PATH variable such that the appropriate node version would be accessable without the need for admin privilege. I suspect the use of the command is trying to change the system environment variables, instead of the variable for the logged in user.
Is there anything in any of your profile files that modifies the PATH
?
No modifiers