openclaw reset
Reset OpenClaw configuration.
Usage
bash
openclaw reset [options]Options
| Option | Description |
|---|---|
--all | Reset everything |
--config | Reset configuration only |
--sessions | Reset sessions only |
--memory | Reset memory only |
--channels | Reset channels only |
--force | Skip confirmation |
Examples
bash
# Reset everything (with confirmation)
openclaw reset --all
# Reset configuration only
openclaw reset --config
# Reset sessions
openclaw reset --sessions
# Reset memory
openclaw reset --memory
# Force reset (no confirmation)
openclaw reset --all --forceWhat Gets Reset
| Option | Effect |
|---|---|
--config | Resets config.json5 to defaults |
--sessions | Clears all conversation sessions |
--memory | Clears agent memory |
--channels | Removes channel authentication |
--all | All of the above |
Warning
This action is irreversible! Consider backing up first:
bash
# Backup before reset
cp -r ~/.config/openclaw ~/.config/openclaw.backup
# Reset
openclaw reset --all