Kommandon för att installera ComfyUI utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id Comfy.ComfyUI-Desktop -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Comfy.ComfyUI-Desktop -e --silentwinget uninstall --id Comfy.ComfyUI-Desktop -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
"Comfy Desktop Setup 1.1.10 - Build 261118efu5bs6tj-x64.exe" /SEgen mapp
"Comfy Desktop Setup 1.1.10 - Build 261118efu5bs6tj-x64.exe" /S /D=C:\Apps\comfyui- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f0c0feae-2b28-5d68-8c25-d93f41e47df2
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-comfyui.ps1
$url = 'https://download.todesktop.com/241130tqe9q3y/Comfy%20Desktop%20Setup%201.1.10%20-%20Build%20261118efu5bs6tj-x64.exe'
$sha256 = 'C7FF452A49E4DD2E4EB74FD170CBCD7BD43E2A8F76B09B6C5AA44EA670C0CE96'
$file = Join-Path $env:TEMP 'Comfy Desktop Setup 1.1.10 - Build 261118efu5bs6tj-x64.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait