Two paths:
coderclaw is still installed.Recommended: use the built-in uninstaller:
coderclaw uninstall
Non-interactive (automation / npx):
coderclaw uninstall --all --yes --non-interactive
npx -y coderclaw uninstall --all --yes --non-interactive
Manual steps (same result):
coderclaw gateway stop
coderclaw gateway uninstall
rm -rf "${CODERCLAW_STATE_DIR:-$HOME/.coderclaw}"
If you set CODERCLAW_CONFIG_PATH to a custom location outside the state dir, delete that file too.
rm -rf ~/.coderclaw/workspace
npm rm -g coderclaw
pnpm remove -g coderclaw
bun remove -g coderclaw
rm -rf /Applications/CoderClaw.app
Notes:
--profile / CODERCLAW_PROFILE), repeat step 3 for each state dir (defaults are ~/.coderclaw-<profile>).Use this if the gateway service keeps running but coderclaw is missing.
Default label is bot.molt.gateway (or bot.molt.<profile>; legacy com.coderclaw.* may still exist):
launchctl bootout gui/$UID/bot.molt.gateway
rm -f ~/Library/LaunchAgents/bot.molt.gateway.plist
If you used a profile, replace the label and plist name with bot.molt.<profile>. Remove any legacy com.coderclaw.* plists if present.
Default unit name is coderclaw-gateway.service (or coderclaw-gateway-<profile>.service):
systemctl --user disable --now coderclaw-gateway.service
rm -f ~/.config/systemd/user/coderclaw-gateway.service
systemctl --user daemon-reload
Default task name is CoderClaw Gateway (or CoderClaw Gateway (<profile>)).
The task script lives under your state dir.
schtasks /Delete /F /TN "CoderClaw Gateway"
Remove-Item -Force "$env:USERPROFILE\.coderclaw\gateway.cmd"
If you used a profile, delete the matching task name and ~\.coderclaw-<profile>\gateway.cmd.
If you used https://coderclaw.ai/install.sh or install.ps1, the CLI was installed with npm install -g coderclaw@latest.
Remove it with npm rm -g coderclaw (or pnpm remove -g / bun remove -g if you installed that way).
If you run from a repo checkout (git clone + coderclaw ... / bun run coderclaw ...):