Kommandon för att installera Z Code 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 ZhipuAI.ZCode -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ZhipuAI.ZCode -e --silentwinget uninstall --id ZhipuAI.ZCode -e --silentPer installationsfil
64-bitars · EXE (NSIS) · Aktuell användare
Tyst installation
ZCode-3.14.1-win-x64.exe /SEgen mapp
ZCode-3.14.1-win-x64.exe /S /D=C:\Apps\z-code- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
64-bitars · EXE (NSIS) · Alla användare
Tyst installation
ZCode-3.14.1-win-x64.exe /SEgen mapp
ZCode-3.14.1-win-x64.exe /S /D=C:\Apps\z-code- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
ARM64 · EXE (NSIS) · Aktuell användare
Tyst installation
ZCode-3.14.1-win-arm64.exe /SEgen mapp
ZCode-3.14.1-win-arm64.exe /S /D=C:\Apps\z-code- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
ARM64 · EXE (NSIS) · Alla användare
Tyst installation
ZCode-3.14.1-win-arm64.exe /SEgen mapp
ZCode-3.14.1-win-arm64.exe /S /D=C:\Apps\z-code- Avinstallationsnyckel i registret
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-z-code.ps1
$url = 'https://cdn-zcode.z.ai/zcode/electron/releases/3.14.1/windows-x64/ZCode-3.14.1-win-x64.exe'
$sha256 = 'F5216F6DF1D5F5CF69D55D732C64927533FE9EEB31E8B39BED2493FAC09ED9A0'
$file = Join-Path $env:TEMP 'ZCode-3.14.1-win-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 install-z-code.ps1
$url = 'https://cdn-zcode.z.ai/zcode/electron/releases/3.14.1/windows-x64/ZCode-3.14.1-win-x64.exe'
$sha256 = 'F5216F6DF1D5F5CF69D55D732C64927533FE9EEB31E8B39BED2493FAC09ED9A0'
$file = Join-Path $env:TEMP 'ZCode-3.14.1-win-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 install-z-code.ps1
$url = 'https://cdn-zcode.z.ai/zcode/electron/releases/3.14.1/windows-arm64/ZCode-3.14.1-win-arm64.exe'
$sha256 = '9E29DC50CB0902E738F84D18FBDE6ACE6B6A5669DD70419351ECBAFEA549AC7F'
$file = Join-Path $env:TEMP 'ZCode-3.14.1-win-arm64.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 install-z-code.ps1
$url = 'https://cdn-zcode.z.ai/zcode/electron/releases/3.14.1/windows-arm64/ZCode-3.14.1-win-arm64.exe'
$sha256 = '9E29DC50CB0902E738F84D18FBDE6ACE6B6A5669DD70419351ECBAFEA549AC7F'
$file = Join-Path $env:TEMP 'ZCode-3.14.1-win-arm64.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