Kommandon för att installera Zed Preview 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 ZedIndustries.Zed.Preview -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ZedIndustries.Zed.Preview -e --silentwinget uninstall --id ZedIndustries.Zed.Preview -e --silentPer installationsfil
64-bitars · EXE (Inno Setup) · Aktuell användare · en-US
Tyst installation
Zed-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Zed-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\zed-preview"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F70E4811-D0E2-4D88-AC99-D63752799F95}_is1
- Installationsmapp
- %LocalAppData%\Programs\Zed Preview
- DisplayVersion
- 1.30.2
ARM64 · EXE (Inno Setup) · Aktuell användare · en-US
Tyst installation
Zed-aarch64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-Egen mapp
Zed-aarch64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\zed-preview"- Avinstallationsnyckel i registret
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{F70E4811-D0E2-4D88-AC99-D63752799F95}_is1
- Installationsmapp
- %LocalAppData%\Programs\Zed Preview
- DisplayVersion
- 1.30.2
PowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-zed-preview.ps1
$url = 'https://github.com/zed-industries/zed/releases/download/v1.30.2-pre/Zed-x86_64.exe'
$sha256 = 'B7723849A5A9F454B8A50E8F89B3D91DE800B5AEAECBEF21906623D60213D45C'
$file = Join-Path $env:TEMP 'Zed-x86_64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-zed-preview.ps1
$url = 'https://github.com/zed-industries/zed/releases/download/v1.30.2-pre/Zed-aarch64.exe'
$sha256 = '47F29C63BA53AA545D61EBB3D002A72DEB92693C64D7D96F24B9E3A5C8EA4543'
$file = Join-Path $env:TEMP 'Zed-aarch64.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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait