# Updates & Maintenance

> How to update easyClaw and OpenClaw, rollback, and manage swap space.


# Updates & Maintenance

easyClaw has a built-in update system that keeps your agent current with automatic backups and rollback.

## Checking for Updates

Go to **Settings** and click **Check for Updates**. If a new version is available, you'll see:
- What version is available
- What's new (changelog)
- An **Apply Update** button

## Applying Updates

Click **Apply Update** and easyClaw will:
1. Create a backup of your current installation
2. Download the new version
3. Install it (preserving your settings, avatars, and data)
4. Restart the service
5. Reload the page

The whole process takes about 30 seconds.

## Rolling Back

If an update causes problems:
- Go to **Settings** → click **Check for Updates** → use the **Rollback** dropdown to select a previous version
- Or click **Reinstall Current** to re-download the current version fresh

### CLI Rollback
If the web UI is completely broken, SSH in and run:
```bash
sudo /opt/easyclaw/webui/bin/rollback.sh
```

## OpenClaw Engine Updates

The **OpenClaw Engine** section in Settings lets you update the underlying AI engine separately. A backup is created before each upgrade, and you can roll back if needed.

⚠️ OpenClaw updates can occasionally change behavior. easyClaw will warn you, and you can always roll back.

### CLI OpenClaw Rollback
```bash
sudo /opt/easyclaw/webui/bin/rollback-openclaw.sh
```

## Virtual Memory (Swap)

If your agent runs slowly or crashes under load, you can increase swap space from Settings. Recommended: 2GB for basic tier VPS.

---
_Canonical: https://easynode.ai/docs/updates/index.md_
