coreybutler / nvm-windows

A node.js version management utility for Windows. Ironically written in Go.
MIT License
37.28k stars 3.32k forks source link

'nvm use' no longer require administrative rights #1117

Closed guozhenyi closed 6 months ago

guozhenyi commented 6 months ago

'mklink' use '/j' replace '/d' to create directory link, so when use 'nvm use xx.xx.xx', it no longer use administrator privileges. It runs fine in windows 10.

coreybutler commented 6 months ago

This has been requested several times in past issues, discussions, and PR's. Junctions do not work on network drives. As a result, users who have profiles on a storage area network (SAN) cannot access their installations. This would break NVM4W for approximately 43% of users based on our surveys (~4M people).