Ordres per instal·lar Grunt sense preguntes, desinstal·lar-lo i detectar-lo des d’eines de desplegament. Només es mostra una ordre quan és segura: la que indica el manifest o el valor per defecte documentat de la tecnologia de l’instal·lador.
Guia relacionada: Instal·lació silenciosa: MSI, NSIS, Inno Setup · Desinstal·lar un programa amb el registre o PowerShell
Amb winget
PowerShell
winget install --id Grunt.Grunt -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Grunt.Grunt -e --silentwinget uninstall --id Grunt.Grunt -e --silentPer instal·lador
64 bits · MSI · en-US
Instal·lació silenciosa
msiexec /i grunt-2026.1-r10-6118-x64.msi /qn /norestartDesar un registre
msiexec /i grunt-2026.1-r10-6118-x64.msi /qn /norestart /l*v "%TEMP%\grunt-install.log"Desinstal·lar
msiexec /x {E98C1BF9-9AF8-47CF-940B-14F8338A5D83} /qn /norestart- Codi de producte MSI
- {E98C1BF9-9AF8-47CF-940B-14F8338A5D83}
- Clau de desinstal·lació al registre
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E98C1BF9-9AF8-47CF-940B-14F8338A5D83}
- UpgradeCode
- {E98C1BF9-9AF8-47CF-940B-14F8937CED83}
- Carpeta d’instal·lació
- %ProgramFiles%\Grunt\6118
- DisplayVersion
- 26.0.6118
32 bits · MSI · en-US
Instal·lació silenciosa
msiexec /i grunt-2026.1-r10-6118-x86.msi /qn /norestartDesar un registre
msiexec /i grunt-2026.1-r10-6118-x86.msi /qn /norestart /l*v "%TEMP%\grunt-install.log"- Carpeta d’instal·lació
- %ProgramFiles(x86)%\Grunt\6118
- DisplayVersion
- 26.0.6118
PowerShell: baixar, verificar, instal·lar
Baixa el fitxer oficial, en comprova l’SHA256 i l’instal·la en mode silenciós.
install-grunt.ps1
$url = 'https://altuarm.blob.core.windows.net/download/grunt-2026.1-r10-6118-x64.msi'
$sha256 = 'B73CB82B5BD649BFFC409C22DF7E03EC6CBAEF6C8ACD996520BA81510A81D1DF'
$file = Join-Path $env:TEMP 'grunt-2026.1-r10-6118-x64.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-grunt.ps1
$url = 'https://altuarm.blob.core.windows.net/download/grunt-2026.1-r10-6118-x86.msi'
$sha256 = 'D28542DBD24F1125860EB80BD54ACF44448E1F6A7C8A19705655785BCB9ECAE5'
$file = Join-Path $env:TEMP 'grunt-2026.1-r10-6118-x86.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait