CodexHostを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリと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