Commands for installing Claude Code Haha without prompts, removing it again and detecting it from deployment tools. A command is shown only when it is certain: from the manifest or the installer technology’s documented default.
Related guide: Silent install switches: MSI, NSIS, Inno Setup · Uninstall a program with the registry or PowerShell
With 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 --silentBy installer
64-bit · EXE (NSIS) · Current user
Silent install
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /SCustom folder
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /S /D=C:\Apps\claude-code-haha- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- Install folder
- %LocalAppData%\Programs\Claude Code Haha
64-bit · EXE (NSIS) · All users
Silent install
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /SCustom folder
Claude-Code-Haha-0.7.8-Windows-x64-Setup.exe /S /D=C:\Apps\claude-code-haha- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- Install folder
- %ProgramFiles%\Claude Code Haha
ARM64 · EXE (NSIS) · Current user
Silent install
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /SCustom folder
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /S /D=C:\Apps\claude-code-haha- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- Install folder
- %LocalAppData%\Programs\Claude Code Haha
ARM64 · EXE (NSIS) · All users
Silent install
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /SCustom folder
Claude-Code-Haha-0.7.8-Windows-arm64-Setup.exe /S /D=C:\Apps\claude-code-haha- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\f01cf2f0-8fe7-55b9-af4b-027bcf9c2cfe
- Install folder
- %ProgramFiles(x86)%\Claude Code Haha
PowerShell: download, verify, install
Downloads the official file, checks its SHA256 and installs it silently.
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