Skip to content

Commit ac40eea

Browse files
authored
Merge pull request #918 from davidribyrne/install.cmd-path-fix
Fix install.cmd PATH bug
2 parents 5009f80 + 4035e4a commit ac40eea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/install.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set NVM_SYMLINK=C:\Program Files\nodejs
55
setx /M NVM_HOME "%NVM_HOME%"
66
setx /M NVM_SYMLINK "%NVM_SYMLINK%"
77

8-
(echo PATH=%PATH%) > %NVM_HOME%\PATH.txt
8+
echo PATH=%PATH% > %NVM_HOME%\PATH.txt
99

1010
for /f "skip=2 tokens=2,*" %%A in ('reg query "HKLM\System\CurrentControlSet\Control\Session Manager\Environment" /v Path 2^>nul') do (
1111
setx /M PATH "%%B;%%NVM_HOME%%;%%NVM_SYMLINK%%"

0 commit comments

Comments
 (0)