# 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: `johnalbertini14-glitch/openclaw-update` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add johnalbertini14-glitch/openclaw-update`
- Raw SKILL.md: https://api.skillmd.com/api/skills/johnalbertini14-glitch/openclaw-update/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: johnalbertini14-glitch (https://skillmd.com/u/johnalbertini14-glitch)
- Updated: 2026-09-08
- Page: https://skillmd.com/skills/johnalbertini14-glitch/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)

