คำสั่งสำหรับติดตั้ง Stoplight Studio โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id Stoplight.Studio -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Stoplight.Studio -e --silentwinget uninstall --id Stoplight.Studio -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS)
ติดตั้งแบบเงียบ
stoplight-studio-win.exe /Sกำหนดโฟลเดอร์เอง
stoplight-studio-win.exe /S /D=C:\Apps\stoplight-studio- คีย์รีจิสทรีสำหรับถอนการติดตั้ง
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\279242fd-d458-5566-9571-36711297e305
- DisplayVersion
- 2.10.0-stable.9587.git-0533c10
PowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-stoplight-studio.ps1
$url = 'https://github.com/stoplightio/studio/releases/download/v2.10.0-stable.9587.git-0533c10/stoplight-studio-win.exe'
$sha256 = 'F9142CD542ADEB3C404568AD0D5FC8F3A1475F1D0FF80307E17AEEB11E1EFA79'
$file = Join-Path $env:TEMP 'stoplight-studio-win.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