Commando’s om Z Code zonder vragen te installeren, weer te verwijderen en te detecteren in uitroltools. Een commando staat er alleen als het vaststaat: uit het manifest of als gedocumenteerde standaard van de installertechniek.
Gerelateerde handleiding: Stille installatie-parameters: MSI, NSIS, Inno Setup · Programma verwijderen via register of PowerShell
Met 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 installer
64-bits · EXE (NSIS) · Huidige gebruiker
Stille installatie
ZCode-4.1.2-win-x64.exe /SAndere map
ZCode-4.1.2-win-x64.exe /S /D=C:\Apps\z-code- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
64-bits · EXE (NSIS) · Alle gebruikers
Stille installatie
ZCode-4.1.2-win-x64.exe /SAndere map
ZCode-4.1.2-win-x64.exe /S /D=C:\Apps\z-code- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
ARM64 · EXE (NSIS) · Huidige gebruiker
Stille installatie
ZCode-4.1.2-win-arm64.exe /SAndere map
ZCode-4.1.2-win-arm64.exe /S /D=C:\Apps\z-code- Registersleutel voor verwijderen
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
ARM64 · EXE (NSIS) · Alle gebruikers
Stille installatie
ZCode-4.1.2-win-arm64.exe /SAndere map
ZCode-4.1.2-win-arm64.exe /S /D=C:\Apps\z-code- Registersleutel voor verwijderen
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\268ce9e6-a30b-5890-ad18-d4b3ebba5377
PowerShell: downloaden, controleren, installeren
Downloadt het officiële bestand, controleert de SHA256-hash en installeert stil.
install-z-code.ps1
$url = 'https://cdn-zcode.z.ai/zcode/electron/releases/4.1.2/windows-x64/ZCode-4.1.2-win-x64.exe'
$sha256 = '6866FDD8398F81EE606D596AFB519E2EECA61678233EB73F952872038076AC1D'
$file = Join-Path $env:TEMP 'ZCode-4.1.2-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/4.1.2/windows-x64/ZCode-4.1.2-win-x64.exe'
$sha256 = '6866FDD8398F81EE606D596AFB519E2EECA61678233EB73F952872038076AC1D'
$file = Join-Path $env:TEMP 'ZCode-4.1.2-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/4.1.2/windows-arm64/ZCode-4.1.2-win-arm64.exe'
$sha256 = 'D6CEF1CD2AC586794E08D1B6FA61BFEC1676014CA5955B720252227FFA94589C'
$file = Join-Path $env:TEMP 'ZCode-4.1.2-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/4.1.2/windows-arm64/ZCode-4.1.2-win-arm64.exe'
$sha256 = 'D6CEF1CD2AC586794E08D1B6FA61BFEC1676014CA5955B720252227FFA94589C'
$file = Join-Path $env:TEMP 'ZCode-4.1.2-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