أوامر لتثبيت برنامج CodexHost دون نوافذ أو أسئلة، ثم إزالته، والكشف عنه من أدوات النشر. لا يظهر الأمر إلا إذا كان مؤكدًا: من البيان (manifest) أو من الإعداد الافتراضي الموثّق لتقنية المثبّت.
شرح ذو صلة: أوامر التثبيت الصامت: MSI وNSIS وInno Setup · إزالة برنامج عبر السجل (Registry) أو PowerShell
باستخدام winget
PowerShell
winget install --id BytePioneer-AI.CodexHost -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id BytePioneer-AI.CodexHost -e --silentwinget uninstall --id BytePioneer-AI.CodexHost -e --silentحسب المثبّت
64 بت · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
codexhost-0.14.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
codexhost-0.14.0-windows-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codexhost"- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A7B4E80-A650-4D47-9D05-8D4D7F13E67E}_is1
- مجلد التثبيت
- %LocalAppData%\Programs\codexhost
ARM64 · EXE (Inno Setup) · المستخدم الحالي
التثبيت الصامت
codexhost-0.14.0-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-مجلد مخصص
codexhost-0.14.0-windows-arm64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\codexhost"- مفتاح إلغاء التثبيت في السجل
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{8A7B4E80-A650-4D47-9D05-8D4D7F13E67E}_is1
- مجلد التثبيت
- %LocalAppData%\Programs\codexhost
PowerShell: تنزيل وتحقق وتثبيت
ينزّل الملف الرسمي، ويتحقق من بصمة SHA256، ثم يثبّته تثبيتًا صامتًا.
install-codexhost.ps1
$url = 'https://github.com/BytePioneer-AI/codex-host/releases/download/v0.14.0/codexhost-0.14.0-windows-x64.exe'
$sha256 = '4F33CD0EDA106FA7E1E5B3C67DCDFB1B7DF880B30C10A8644FF2DF23D39F6CD7'
$file = Join-Path $env:TEMP 'codexhost-0.14.0-windows-x64.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-codexhost.ps1
$url = 'https://github.com/BytePioneer-AI/codex-host/releases/download/v0.14.0/codexhost-0.14.0-windows-arm64.exe'
$sha256 = '14848C66406D694AD2F6C466000AFC12F45C5B7454E89C337B36AC46D4EFBEF4'
$file = Join-Path $env:TEMP 'codexhost-0.14.0-windows-arm64.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