أوامر لتثبيت برنامج Whiparc CLI دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id Whiparc.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Whiparc.CLI -e --silentwinget uninstall --id Whiparc.CLI -e --silentحسب المثبّت
64 بت · EXE (NSIS) · المستخدم الحالي
التثبيت الصامت
whiparc-setup-windows-amd64.exe /Sمجلد مخصص
whiparc-setup-windows-amd64.exe /S /D=C:\Apps\whiparc-cli- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Whiparc
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-whiparc-cli.ps1
$url = 'https://github.com/whiparc/whiparc/releases/download/cli-v0.1.12/whiparc-setup-windows-amd64.exe'
$sha256 = '676E89DFE699CEE73B967A7EE9AAEAC40AA3534BC81929A47E4CB5B8E25979D4'
$file = Join-Path $env:TEMP 'whiparc-setup-windows-amd64.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