Befehle, um LLVM 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 LLVM.LLVM -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LLVM.LLVM -e --silentwinget uninstall --id LLVM.LLVM -e --silentNach Installer
64-Bit · MSI
Stille Installation
msiexec /i LLVM-23.1.4-win64.msi /qn /norestartProtokoll schreiben
msiexec /i LLVM-23.1.4-win64.msi /qn /norestart /l*v "%TEMP%\llvm-install.log"Deinstallation
msiexec /x {C261B515-7573-457D-AA83-FE1826A77ECE} /qn /norestart- MSI-Produktcode
- {C261B515-7573-457D-AA83-FE1826A77ECE}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{C261B515-7573-457D-AA83-FE1826A77ECE}
- UpgradeCode
- {B08613CD-8BD0-4FB6-8937-621936604DE3}
ARM64 · MSI
Stille Installation
msiexec /i LLVM-23.1.4-woa64.msi /qn /norestartProtokoll schreiben
msiexec /i LLVM-23.1.4-woa64.msi /qn /norestart /l*v "%TEMP%\llvm-install.log"Deinstallation
msiexec /x {5CD24E02-3295-4905-8F23-4C745E943988} /qn /norestart- MSI-Produktcode
- {5CD24E02-3295-4905-8F23-4C745E943988}
- Deinstallationsschlüssel in der Registry
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{5CD24E02-3295-4905-8F23-4C745E943988}
- UpgradeCode
- {B08613CD-8BD0-4FB6-8937-621936604DE3}
PowerShell: herunterladen, prüfen, installieren
Lädt die offizielle Datei herunter, prüft den SHA256-Hash und installiert still.
install-llvm.ps1
$url = 'https://github.com/llvm/llvm-project/releases/download/llvmorg-23.1.4/LLVM-23.1.4-win64.msi'
$sha256 = '15E49ACA3540991A6F28A0E57BABAB67DA82155C4F73F79DD5E8666A851F9127'
$file = Join-Path $env:TEMP 'LLVM-23.1.4-win64.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-llvm.ps1
$url = 'https://github.com/llvm/llvm-project/releases/download/llvmorg-23.1.4/LLVM-23.1.4-woa64.msi'
$sha256 = 'B484F54264400F0A75B63704B1068DA8086F0B14625575F6EFEA08813109B068'
$file = Join-Path $env:TEMP 'LLVM-23.1.4-woa64.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