mirror of
				https://github.com/ScoopInstaller/Main.git
				synced 2025-10-31 13:51:18 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			54 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
			
		
		
	
	
			54 lines
		
	
	
		
			1.7 KiB
		
	
	
	
		
			JSON
		
	
	
	
	
	
| {
 | |
|     "version": "1.2.2",
 | |
|     "description": "A node.js version management utility for Windows.",
 | |
|     "homepage": "https://github.com/coreybutler/nvm-windows",
 | |
|     "license": "MIT",
 | |
|     "notes": "You'll need to restart powershell/cmd to have it reload Environment Variables so nvm will work correctly",
 | |
|     "url": "https://github.com/coreybutler/nvm-windows/releases/download/1.2.2/nvm-noinstall.zip",
 | |
|     "hash": "md5:d654c26a04e35a318d5939f8ceb09934",
 | |
|     "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\"",
 | |
|                 "}"
 | |
|             ]
 | |
|         }
 | |
|     },
 | |
|     "env_add_path": [
 | |
|         ".",
 | |
|         "nodejs\\nodejs"
 | |
|     ],
 | |
|     "env_set": {
 | |
|         "NVM_HOME": "$dir",
 | |
|         "NVM_SYMLINK": "$persist_dir\\nodejs\\nodejs"
 | |
|     },
 | |
|     "persist": [
 | |
|         "nodejs",
 | |
|         [
 | |
|             "elevate.cmd",
 | |
|             "nodejs\\elevate.cmd"
 | |
|         ],
 | |
|         [
 | |
|             "elevate.vbs",
 | |
|             "nodejs\\elevate.vbs"
 | |
|         ],
 | |
|         "settings.txt"
 | |
|     ],
 | |
|     "checkver": "github",
 | |
|     "autoupdate": {
 | |
|         "url": "https://github.com/coreybutler/nvm-windows/releases/download/$version/nvm-noinstall.zip",
 | |
|         "hash": {
 | |
|             "url": "$url.checksum.txt",
 | |
|             "regex": "$md5"
 | |
|         }
 | |
|     }
 | |
| }
 | 
![github-actions[bot]](/assets/img/avatar_default.png)