Befehle, um Node.js 22 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.22 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenJS.NodeJS.22 -e --silentwinget uninstall --id OpenJS.NodeJS.22 -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v22.23.4-x64.msi /qn /norestartProtokoll schreiben
msiexec /i node-v22.23.4-x64.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"Deinstallation
msiexec /x {DB301453-81CD-4694-8A78-746617513B00} /qn /norestart- MSI-Produktcode
- {DB301453-81CD-4694-8A78-746617513B00}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{DB301453-81CD-4694-8A78-746617513B00}
ARM64 · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v22.23.4-arm64.msi /qn /norestartProtokoll schreiben
msiexec /i node-v22.23.4-arm64.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"Deinstallation
msiexec /x {55FB5612-8E88-42EA-9B29-94F71178FDCD} /qn /norestart- MSI-Produktcode
- {55FB5612-8E88-42EA-9B29-94F71178FDCD}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{55FB5612-8E88-42EA-9B29-94F71178FDCD}
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v22.23.4-x86.msi /qn /norestartProtokoll schreiben
msiexec /i node-v22.23.4-x86.msi /qn /norestart /l*v "%TEMP%\node-js-22-install.log"Deinstallation
msiexec /x {D5308DE4-524D-4BA9-8814-A10A79A07A91} /qn /norestart- MSI-Produktcode
- {D5308DE4-524D-4BA9-8814-A10A79A07A91}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{D5308DE4-524D-4BA9-8814-A10A79A07A91}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-node-js-22.ps1
$url = 'https://nodejs.org/dist/v22.23.4/node-v22.23.4-x64.msi'
$sha256 = 'CA9303D3A12E8BEC6DE829FCB7812FC776930E0CE5C030328A24984EF928427E'
$file = Join-Path $env:TEMP 'node-v22.23.4-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-22.ps1
$url = 'https://nodejs.org/dist/v22.23.4/node-v22.23.4-arm64.msi'
$sha256 = '49EDBB15812C13EFA061C2C76B06944425F3711454845E78B625A8E865A45327'
$file = Join-Path $env:TEMP 'node-v22.23.4-arm64.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-22.ps1
$url = 'https://nodejs.org/dist/v22.23.4/node-v22.23.4-x86.msi'
$sha256 = 'C2A76D76EDA52B7930B51FD490264C2FE34A094C04AE721BB71893F3FD6CD1D0'
$file = Join-Path $env:TEMP 'node-v22.23.4-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