# Openclaw Update

> Check for OpenClaw updates, perform updates, and manage version status. Provides automatic update checking, version comparison, and seamless updating of the OpenClaw agent platform.

- Skill: `nordeim-openclaw-curated-skills/openclaw-update` (Agent Skill)
- Install (CLI): `npx skillmds@latest add nordeim-openclaw-curated-skills/openclaw-update`
- Raw SKILL.md: https://api.skillmd.com/api/skills/nordeim-openclaw-curated-skills/openclaw-update/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: nordeim (https://skillmd.com/u/nordeim-openclaw-curated-skills)
- Updated: 2026-09-21
- Page: https://skillmd.com/skills/nordeim-openclaw-curated-skills/openclaw-update

---


# OpenClaw Update Skill

A skill for checking and applying OpenClaw updates.

## Commands

### Check Status

Check the current OpenClaw version and available updates:

```bash
openclaw update status
openclaw update status --json
```

### Run Update (pnpm)

Update OpenClaw using pnpm (for pnpm installations):

```bash
# Check current version
pnpm list -g openclaw

# Update to latest version
pnpm add -g openclaw

# Restart gateway after update
openclaw gateway restart
```

### Gateway Management

Restart OpenClaw gateway after update:

```bash
openclaw gateway restart
openclaw gateway status
```

## pnpm Upgrade Workflow

For pnpm-installed OpenClaw:

```bash
# 1. Check current version
pnpm list -g openclaw

# 2. Update to latest
pnpm add -g openclaw

# 3. Restart gateway
openclaw gateway restart

# 4. Verify update
openclaw update status
```

## Use Cases

- **Automatic update checks**: Configure cron jobs for periodic update checks
- **Version monitoring**: Monitor if a newer version is available
- **Safe updates**: Check before updating to ensure compatibility
- **Update history**: Track when updates were applied
- **pnpm workflow**: Special commands for pnpm-based installations

## Environment Variables

- `OPENCLAW_UPDATE_CHECK_URL`: Override update check URL (optional)

## Example Workflow

```bash
# Check for updates (human-readable output)
openclaw update status

# Check for updates (JSON output for automation)
openclaw update status --json

# For pnpm installations, use pnpm to update
pnpm add -g openclaw

# Restart gateway after update
openclaw gateway restart
```

## Notes

- Requires OpenClaw to be installed
- Supports semantic versioning for version comparison
- Provides detailed change logs when updating
- Supports rollback if needed (check documentation)
- pnpm location: `/home/rothcold/.local/share/pnpm/pnpm`

