Befehle, um Node.js 18 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.18 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenJS.NodeJS.18 -e --silentwinget uninstall --id OpenJS.NodeJS.18 -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v18.20.8-x64.msi /qn /norestartProtokoll schreiben
msiexec /i node-v18.20.8-x64.msi /qn /norestart /l*v "%TEMP%\node-js-18-install.log"Deinstallation
msiexec /x {CC48A89B-2866-40B4-8B58-3DEFB1F2643E} /qn /norestart- MSI-Produktcode
- {CC48A89B-2866-40B4-8B58-3DEFB1F2643E}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{CC48A89B-2866-40B4-8B58-3DEFB1F2643E}
- Installationsordner
- %ProgramFiles%\nodejs
64-Bit · ZIP
Keine Installation nötig (portabel)
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v18.20.8-x86.msi /qn /norestartProtokoll schreiben
msiexec /i node-v18.20.8-x86.msi /qn /norestart /l*v "%TEMP%\node-js-18-install.log"Deinstallation
msiexec /x {4035A1E1-3B32-4961-AD82-1D0E05AE5FD7} /qn /norestart- MSI-Produktcode
- {4035A1E1-3B32-4961-AD82-1D0E05AE5FD7}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{4035A1E1-3B32-4961-AD82-1D0E05AE5FD7}
- Installationsordner
- %ProgramFiles(x86)%\nodejs
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-18.ps1
$url = 'https://nodejs.org/dist/v18.20.8/node-v18.20.8-x64.msi'
$sha256 = 'BD8B92343E12DBE9E573D2F5D5FEC6953FCF12E00ADD58A29A6774391D02F342'
$file = Join-Path $env:TEMP 'node-v18.20.8-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-18.ps1
$url = 'https://nodejs.org/dist/v18.20.8/node-v18.20.8-x86.msi'
$sha256 = 'C7A04A1378CB66F5716F2B67C65921497972E883541BC48C0B19C92668F1713D'
$file = Join-Path $env:TEMP 'node-v18.20.8-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