DevPod ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
winget install --id LoftLabs.DevPod -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LoftLabs.DevPod -e --silentwinget uninstall --id LoftLabs.DevPod -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
DevPod_0.6.15_x64-setup.exe /SDevPod_0.6.15_x64-setup.exe /S /D=C:\Apps\devpod- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\DevPod
64-bit · MSI · အသုံးပြုသူအားလုံး
msiexec /i DevPod_windows_x64_en-US.msi /qn /norestartmsiexec /i DevPod_windows_x64_en-US.msi /qn /norestart /l*v "%TEMP%\devpod-install.log"msiexec /x {8D08BD5F-A8B8-4145-8885-70BD20F14383} /qn /norestart- MSI product code
- {8D08BD5F-A8B8-4145-8885-70BD20F14383}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8D08BD5F-A8B8-4145-8885-70BD20F14383}
- UpgradeCode
- {9882EA7A-6E48-5328-80C7-60C114AC4048}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\DevPod
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$url = 'https://github.com/loft-sh/devpod/releases/download/v0.6.15/DevPod_0.6.15_x64-setup.exe'
$sha256 = '2E60596ECA13CE54333C268D51EF97B841C6C696AAF694EA236ED727AC6FD4C0'
$file = Join-Path $env:TEMP 'DevPod_0.6.15_x64-setup.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 $url = 'https://github.com/loft-sh/devpod/releases/download/v0.6.15/DevPod_windows_x64_en-US.msi'
$sha256 = 'BE3F2A9761AB4BEC5AC75B0F9B38523156DFDEAD15A98C47467B89D019C69340'
$file = Join-Path $env:TEMP 'DevPod_windows_x64_en-US.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait