@clawtools/openclaw-uninstall
v0.1.1
Published
Deep cleanup uninstaller for OpenClaw on macOS, runnable via npx.
Maintainers
Readme
openclaw-uninstall
An OpenClaw deep-clean uninstaller you can run directly with npx (macOS-first). It removes leftover services, state directories, and app files that common uninstall methods often miss.
Quick Start
1) Run with confirmation prompt
npx @clawtools/openclaw-uninstallThe command asks for confirmation before any destructive actions.
2) Run without prompt (CI/non-interactive)
npx @clawtools/openclaw-uninstall -y--yes and --non-interactive both skip the prompt.
Local Development
npm install
npm run help
node bin/openclaw-uninstall.js -yWhat Gets Removed
- Built-in OpenClaw CLI uninstall path
openclaw uninstall --all --yes --non-interactiveopenclaw gateway stopopenclaw gateway uninstall
- launchd gateway services (macOS)
bot.molt.gatewaycom.openclaw.gateway- Also attempts cleanup of profile-suffixed labels and matching
~/Library/LaunchAgents/*.plist
- Config and state directories
${OPENCLAW_STATE_DIR:-~/.openclaw}~/.openclaw-*~/.openclaw/workspace
- Global CLI removal attempts
npm rm -g openclawpnpm remove -g openclawbun remove -g openclaw
- Application cleanup (macOS)
/Applications/OpenClaw.app
CLI Options
--yes/-y: skip confirmation prompt and uninstall immediately--non-interactive: compatibility alias for--yes--verbose: print detailed execution logs--help: show help
Recommended Usage After Publish
If this package is published to npm (for example as @clawtools/openclaw-uninstall), end users can run:
npx @clawtools/openclaw-uninstallTo pin a specific version:
npx @clawtools/[email protected]