Zed ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id ZedIndustries.Zed -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id ZedIndustries.Zed -e --silentwinget uninstall --id ZedIndustries.Zed -e --silentInstaller အလိုက်
64-bit · EXE (Inno Setup) · လက်ရှိအသုံးပြုသူ · en-US
အသံတိတ်ထည့်သွင်းခြင်း
Zed-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-စိတ်ကြိုက် ဖိုင်တွဲ
Zed-x86_64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\zed"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2DB0DA96-CA55-49BB-AF4F-64AF36A86712}_is1
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %LocalAppData%\Programs\Zed
- DisplayVersion
- 1.29.2
ARM64 · EXE (Inno Setup) · လက်ရှိအသုံးပြုသူ · en-US
အသံတိတ်ထည့်သွင်းခြင်း
Zed-aarch64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-စိတ်ကြိုက် ဖိုင်တွဲ
Zed-aarch64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\zed"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2DB0DA96-CA55-49BB-AF4F-64AF36A86712}_is1
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %LocalAppData%\Programs\Zed
- DisplayVersion
- 1.29.2
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-zed.ps1
$url = 'https://github.com/zed-industries/zed/releases/download/v1.29.2/Zed-x86_64.exe'
$sha256 = '30CD0AEF8A8D451F54613B3EE8D8321C06ACB2EF2110B4DEBAA7931F245C8399'
$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.ps1
$url = 'https://github.com/zed-industries/zed/releases/download/v1.29.2/Zed-aarch64.exe'
$sha256 = 'C8562209B90884E650899BB716286F49558781704034BF3ADE1FF958133810C1'
$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