Mac 環(huán)境
OpenClaw安裝
npm install -g openclaw
openclaw onboard
OpenClaw卸載
1、openclaw uninstall --all --yes --non-interactive
--all:刪除網(wǎng)關(guān)服務(wù)、數(shù)據(jù)庫、配置、工作區(qū)
--yes:自動確認(rèn),無需手動輸入 Y
--non-interactive:非交互模式,避免彈窗
2、停止并卸載網(wǎng)關(guān)服務(wù)
openclaw gateway stop
openclaw gateway uninstall
3、刪除配置與數(shù)據(jù)目錄
rm -rf ~/.openclaw
4、卸載 CLI 工具(按安裝方式選擇)
npm uninstall -g openclaw
5、清理系統(tǒng)啟動項(可選)
rm ~/Library/LaunchAgents/ai.openclaw.gateway.plist
launchctl remove ai.openclaw.gateway