Claude Code Hahaを確認画面なしでインストール・アンインストールし、展開ツールで検出するためのコマンドです。マニフェストの記載か、インストーラー技術の既定値として確実なコマンドだけを表示しています。
関連ガイド: サイレントインストールのオプション一覧 · レジストリとPowerShellでアンインストールする方法
wingetを使う
PowerShell
winget install --id NanmiCoder.ClaudeCodeHaha -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id NanmiCoder.ClaudeCodeHaha -e --silentwinget uninstall --id NanmiCoder.ClaudeCodeHaha -e --silentインストーラー別
64ビット · EXE(NSIS) · 現在のユーザー
サイレントインストール
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /Sインストール先を指定
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /S /D=C:\Apps\claude-code-haha- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- インストール先フォルダー
- %LocalAppData%\Programs\Claude Code Haha
64ビット · EXE(NSIS) · すべてのユーザー
サイレントインストール
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /Sインストール先を指定
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /S /D=C:\Apps\claude-code-haha- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- インストール先フォルダー
- %ProgramFiles%\Claude Code Haha
ARM64 · EXE(NSIS) · 現在のユーザー
サイレントインストール
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /Sインストール先を指定
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /S /D=C:\Apps\claude-code-haha- アンインストール用レジストリキー
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- インストール先フォルダー
- %LocalAppData%\Programs\Claude Code Haha
ARM64 · EXE(NSIS) · すべてのユーザー
サイレントインストール
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /Sインストール先を指定
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /S /D=C:\Apps\claude-code-haha- アンインストール用レジストリキー
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- インストール先フォルダー
- %ProgramFiles(x86)%\Claude Code Haha
PowerShell:ダウンロード・検証・インストール
公式ファイルをダウンロードし、SHA256を検証してからサイレントインストールします。
install-claude-code-haha.ps1
$url = 'https://github.com/NanmiCoder/cc-haha/releases/download/v0.7.8/Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe'
$sha256 = 'DCA6BB82F4D0FBEE8D43C91912E4D50E7DCEA69A7CB22C51CDD9CB265767C7E7'
$file = Join-Path $env:TEMP 'Claude-Code-Haha-0.7.8-Windows-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 install-claude-code-haha.ps1
$url = 'https://github.com/NanmiCoder/cc-haha/releases/download/v0.7.8/Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe'
$sha256 = 'DCA6BB82F4D0FBEE8D43C91912E4D50E7DCEA69A7CB22C51CDD9CB265767C7E7'
$file = Join-Path $env:TEMP 'Claude-Code-Haha-0.7.8-Windows-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 install-claude-code-haha.ps1
$url = 'https://github.com/NanmiCoder/cc-haha/releases/download/v0.7.8/Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe'
$sha256 = 'FEC597A7E870AFD1CF9F30AC390527699D3C470A79823885A5AE0E94C24335A7'
$file = Join-Path $env:TEMP 'Claude-Code-Haha-0.7.8-Windows-arm64-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 install-claude-code-haha.ps1
$url = 'https://github.com/NanmiCoder/cc-haha/releases/download/v0.7.8/Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe'
$sha256 = 'FEC597A7E870AFD1CF9F30AC390527699D3C470A79823885A5AE0E94C24335A7'
$file = Join-Path $env:TEMP 'Claude-Code-Haha-0.7.8-Windows-arm64-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