← 返回
效率工具 中文

OpenClaw Self-Update

Update OpenClaw to the latest version. Use when asked to "update yourself", "upgrade openclaw", "check for updates", or "update to latest version". Handles n...
将OpenClaw更新至最新版本。用于"更新自己"、"升级openclaw"、"检查更新"或"更新至最新版本"等请求。
jchen0824
效率工具 clawhub v1.0.0 1 版本 100000 Key: 无需
★ 0
Stars
📥 811
下载
💾 8
安装
1
版本
#latest

概述

OpenClaw Self-Update

Update OpenClaw to the latest version via npm.

Quick Update

# Check versions
openclaw --version                    # Current
npm show openclaw version             # Latest

# Update
npm install -g openclaw@latest

# Restart gateway
openclaw gateway restart

# Verify
openclaw --version

Script

For automated updates with version checking:

bash {baseDir}/scripts/update.sh

The script will:

  1. Check if update is available
  2. Install latest version via npm
  3. Restart the gateway
  4. Show changelog summary

Manual Steps

If the script fails:

# 1. Stop gateway
openclaw gateway stop

# 2. Update npm package
npm install -g openclaw@latest

# 3. Start gateway
openclaw gateway start

# 4. Verify
openclaw --version

Troubleshooting

IssueSolution
-----------------
Permission deniedUse sudo npm install -g openclaw@latest
Gateway won't restartRun openclaw gateway stop then openclaw gateway start
npm not foundEnsure Node.js is installed and in PATH

Notes

  • openclaw update only works for git installs
  • npm installs require npm install -g openclaw@latest
  • Always restart gateway after update for changes to take effect

版本历史

共 1 个版本

  • v1.0.0 当前
    2026-03-30 04:05 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

productivity

Word / DOCX

ivangdavila
创建、检查和编辑 Microsoft Word 文档及 DOCX 文件,支持样式、编号、修订记录、表格、分节符及兼容性检查等功能。
★ 440 📥 147,783
productivity

Weather

steipete
获取当前天气和预报(无需API密钥)
★ 445 📥 226,335
productivity

Obsidian

steipete
操作 Obsidian 仓库(纯 Markdown 笔记)并通过 obsidian-cli 自动化。
★ 432 📥 103,804