Befehle, um Node.js 10 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.10 -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenJS.NodeJS.10 -e --silentwinget uninstall --id OpenJS.NodeJS.10 -e --silentNach Installer
64-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v10.24.1-x64.msi /qn /norestartProtokoll schreiben
msiexec /i node-v10.24.1-x64.msi /qn /norestart /l*v "%TEMP%\node-js-10-install.log"Deinstallation
msiexec /x {8E8991C7-B2DA-4F89-A0AC-B705B7551141} /qn /norestart- MSI-Produktcode
- {8E8991C7-B2DA-4F89-A0AC-B705B7551141}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8E8991C7-B2DA-4F89-A0AC-B705B7551141}
- Installationsordner
- %ProgramFiles%\nodejs
64-Bit · ZIP
Keine Installation nötig (portabel)
32-Bit · MSI · Alle Benutzer
Stille Installation
msiexec /i node-v10.24.1-x86.msi /qn /norestartProtokoll schreiben
msiexec /i node-v10.24.1-x86.msi /qn /norestart /l*v "%TEMP%\node-js-10-install.log"Deinstallation
msiexec /x {5D5985FA-D14C-4E90-BBA6-F899F77A0BFC} /qn /norestart- MSI-Produktcode
- {5D5985FA-D14C-4E90-BBA6-F899F77A0BFC}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\{5D5985FA-D14C-4E90-BBA6-F899F77A0BFC}
- 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-10.ps1
$url = 'https://nodejs.org/dist/v10.24.1/node-v10.24.1-x64.msi'
$sha256 = 'DAB263436EEDA26C9C4809BA4D93E607DCFFB3735B9A1866C77AFB242A832DBD'
$file = Join-Path $env:TEMP 'node-v10.24.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-10.ps1
$url = 'https://nodejs.org/dist/v10.24.1/node-v10.24.1-x86.msi'
$sha256 = 'DBDDBB2E29DA2E4C060510D3A466895555F458B5EB090756C9AAD52858A9D61B'
$file = Join-Path $env:TEMP 'node-v10.24.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