🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

Openclaw Update

by @rothcold

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

Versionv1.1.1
Downloads2,108
Installs12
TERMINAL
clawhub install openclaw-update-skill

πŸ“– About This Skill


name: openclaw-update description: Check for OpenClaw updates, perform updates, and manage version status. Provides automatic update checking, version comparison, and seamless updating of the OpenClaw agent platform. metadata: { "openclaw": { "requires": { "bins": ["openclaw"] }, "install": [ { "id": "openclaw-update-skill", "kind": "skill", "path": "skills/openclaw-update", "label": "OpenClaw Update Skill", }, ], }, }

OpenClaw Update Skill

A skill for checking and applying OpenClaw updates.

Commands

Check Status

Check the current OpenClaw version and available updates:

openclaw update status
openclaw update status --json

Run Update (pnpm)

Update OpenClaw using pnpm (for pnpm installations):

# 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:

openclaw gateway restart
openclaw gateway status

pnpm Upgrade Workflow

For pnpm-installed OpenClaw:

# 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

    # 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
  • ⚑ When to Use

    TriggerAction
    - **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

    πŸ“‹ Tips & Best Practices

  • 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