/
nvm-windows.json
35 lines (35 loc) · 1.35 KB
/
nvm-windows.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{
"homepage": "https://github.com/coreybutler/nvm-windows",
"description": "This is a fork of nvm-windows, removed elevated permission, for low permission scoop user.",
"license": "MIT",
"version": "1.1.9",
"url": "https://github.com/coreybutler/nvm-windows/releases/download/1.1.9/nvm-noinstall.zip",
"hash": "de2cb79b6eb0b619826d77ba630c9407106feb1fdbd4654544e8be84bf873320",
"bin": "nvm.exe",
"persist": [
"nodejs",
"settings.txt"
],
"env_add_path": "nodejs\\nodejs",
"env_set": {
"NVM_HOME": "$dir",
"NVM_SYMLINK": "$persist_dir\\nodejs\\nodejs"
},
"architecture": {
"64bit": {
"pre_install": [
"if(!(test-path \"$dir\\settings.txt\")) {",
" write-output \"root: $persist_dir\\nodejs`r`narch: 64`r`nproxy: none\" | out-file -encoding \"ASCII\" \"$dir\\settings.txt\"",
"}"
]
},
"32bit": {
"pre_install": [
"if(!(test-path \"$dir\\settings.txt\")) {",
" write-output \"root: $persist_dir\\nodejs`r`narch: 32`r`nproxy: none\" | out-file -encoding \"ASCII\" \"$dir\\settings.txt\"",
"}"
]
}
},
"notes": "You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly"
}