C:\Users\Administrator>npm install -g openclaw
npm error code UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm error errno UNABLE_TO_VERIFY_LEAF_SIGNATURE
npm error request to https://registry.npmmirror.com/openclaw failed, reason: unable to verify the first certificate; if the root CA is installed locally, try running Node.js with --use-system-ca
npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache\_logs\2026-03-07T17_18_17_448Z-debug-0.log
解决方法:

在命令符输入: npm config set strict-ssl false

然后再安装:npm install -g openclaw

安装完后在命令符输入恢复: npm config set strict-ssl true

Logo

Agent 垂直技术社区,欢迎活跃、内容共建。

更多推荐