Befehle, um Node.js 17 ohne Rückfragen zu installieren, wieder zu entfernen und in Verteilungswerkzeugen zu erkennen. Ein Befehl erscheint nur, wenn er feststeht: aus dem Manifest oder als dokumentierter Standard der jeweiligen Installer-Technik.
Passende Anleitung: Silent-Install-Parameter: MSI, NSIS, Inno Setup · Programm über Registry oder PowerShell deinstallieren
Mit winget
PowerShell
winget install --id OpenJS.NodeJS.17 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenJS.NodeJS.17 -e --silentwinget uninstall --id OpenJS.NodeJS.17 -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v17.9.1-x64.msi /qn /norestartProtokoll schreiben
msiexec /i node-v17.9.1-x64.msi /qn /norestart /l*v "%TEMP%\node-js-17-install.log"Deinstallation
msiexec /x {E25AFF60-6DB3-41D7-A310-15E822DD0E7B} /qn /norestart- MSI-Produktcode
- {E25AFF60-6DB3-41D7-A310-15E822DD0E7B}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{E25AFF60-6DB3-41D7-A310-15E822DD0E7B}
64-Bit · ZIP
Keine Installation nötig (portabel)
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v17.9.1-x86.msi /qn /norestartProtokoll schreiben
msiexec /i node-v17.9.1-x86.msi /qn /norestart /l*v "%TEMP%\node-js-17-install.log"Deinstallation
msiexec /x {B9C385CF-63B2-4753-85C5-061903033C53} /qn /norestart- MSI-Produktcode
- {B9C385CF-63B2-4753-85C5-061903033C53}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{B9C385CF-63B2-4753-85C5-061903033C53}
32-Bit · ZIP
Keine Installation nötig (portabel)
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-node-js-17.ps1
$url = 'https://nodejs.org/dist/v17.9.1/node-v17.9.1-x64.msi'
$sha256 = '56A2AB389460C1E88A32B5A7128414FBF6DA89037D1218AFDA366638D6B6A0F1'
$file = Join-Path $env:TEMP 'node-v17.9.1-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-node-js-17.ps1
$url = 'https://nodejs.org/dist/v17.9.1/node-v17.9.1-x86.msi'
$sha256 = '5E59C8B4A3A32E9D8570DCACF47AC9606E7CEA106EB6087E6498F855AB65BAA3'
$file = Join-Path $env:TEMP 'node-v17.9.1-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