PowerShell:
irm clawgate.org/install.ps1 | iex
Command Prompt:
curl -fsSL clawgate.org/install.cmd -o install.cmd && install.cmd && del install.cmd
This downloads clawgate.exe to %USERPROFILE%\.clawgate\bin\, adds
it to your PATH, and you’re ready to go. Restart your terminal
afterwards.
clawgate-windows-amd64.exe%USERPROFILE%\.clawgate\bin\clawgate.exe in that folderIf you used the quick install, PATH was set up automatically. For manual installs, add the folder to your PATH:
$binPath = "$env:USERPROFILE\.clawgate\bin"
$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")
if ($currentPath -notlike "*$binPath*") {
[Environment]::SetEnvironmentVariable("Path", "$currentPath;$binPath", "User")
Write-Host "Added $binPath to PATH. Restart your terminal to apply."
}
sysdm.cpl, press Enter%USERPROFILE%\.clawgate\binOpen a new terminal (Command Prompt, PowerShell, or Windows Terminal) and run:
clawgate --help
If you get 'clawgate' is not recognized, make sure you restarted
the terminal after adding to PATH.
Windows may flag the binary the first time you run it because it’s unsigned. You’ll see a “Windows protected your PC” dialog.
This only happens once. The binary is a standard Go executable with no external dependencies.
clawgate login
Follow the on-screen instructions to authenticate with your ChatGPT account.
# ChatGPT mode (default)
clawgate
# API key mode
clawgate --mode=api --apiKey=sk-xxx
# Custom port
clawgate --mode=api --apiKey=sk-xxx --port=9000
In a separate terminal:
set ANTHROPIC_BASE_URL=http://localhost:8082
claude
Or in PowerShell:
$env:ANTHROPIC_BASE_URL = "http://localhost:8082"
claude
Or as a one-liner (PowerShell):
$env:ANTHROPIC_BASE_URL="http://localhost:8082"; claude
taskschd.msc, press Enterclawgate, click Next%USERPROFILE%\.clawgate\bin\clawgate.exe--mode=api --apiKey=sk-xxxAdd to your PowerShell profile ($PROFILE):
# Start clawgate in the background on shell startup
if (-not (Get-Process clawgate -ErrorAction SilentlyContinue)) {
Start-Process -WindowStyle Hidden "$env:USERPROFILE\.clawgate\bin\clawgate.exe" `
-ArgumentList "--mode=api","--apiKey=sk-xxx"
}
# Remove the binary and credentials
Remove-Item -Recurse -Force "$env:USERPROFILE\.clawgate"
# Remove from PATH
$binPath = "$env:USERPROFILE\.clawgate\bin"
$currentPath = [Environment]::GetEnvironmentVariable("Path", "User")
$newPath = ($currentPath -split ";" | Where-Object { $_ -ne $binPath }) -join ";"
[Environment]::SetEnvironmentVariable("Path", $newPath, "User")
%USERPROFILE%\.clawgate\%USERPROFILE%\.clawgate\bin from PATH (System Settings > Environment Variables)