开启左侧

windows电脑安装OpenClaw步骤

[复制链接]
创想小编 发表于 昨天 21:59 | 显示全部楼层 |阅读模式 打印 上一主题 下一主题
作者:超级码丽.
基础设施

windows已经准备好了运行 OpenClaw 所需的所有基础环境和工具(Node.jsGit
如果是使用本地大模型,还需要ollama
安装
  1. npm i -g openclaw
复制代码
输出:
  1. Microsoft Windows [版本 10.0.26100.7840]
  2. (c) Microsoft Corporation。保留所有权利。
  3. C:\Users\LHF>npm i -g openclaw
  4. npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
  5. npm warn deprecated npmlog@5.0.1: This package is no longer supported.
  6. npm warn deprecated npmlog@6.0.2: This package is no longer supported.
  7. npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
  8. npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
  9. npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
  10. npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
  11. npm warn deprecated gauge@3.0.2: This package is no longer supported.
  12. npm warn deprecated gauge@4.0.4: This package is no longer supported.
  13. npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
  14. npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
  15. npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
  16. npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
  17. removed 67 packages, and changed 698 packages in 4m
  18. C:\Users\LHF>
复制代码
验证openclaw命令:
  1. openclaw --version
复制代码
windows电脑安装OpenClaw步骤-1.png


初始化配置

在配置之前先确定怎么调用大模型:
    使用ollama本地模型,那你先下载好使用ollama云模型,那你先拉取好。并且要注册ollama账号。申请API key待会OpenClaw初始化需要

    windows电脑安装OpenClaw步骤-2.png

我以云模型为例:
以管理员身份运行PowerShell

windows电脑安装OpenClaw步骤-3.png


执行初始化命令:
  1. openclaw onboard
复制代码
windows电脑安装OpenClaw步骤-4.png


输出:
[code]Windows PowerShell
版权所有(C) Microsoft Corporation。保留所有权利。

安装最新的 PowerShell,了解新功能和改进!https://aka.ms/PSWindows

PS C:\WINDOWS\system32> openclaw onboard

windows电脑安装OpenClaw步骤-5.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

发布主题
阅读排行更多+

Powered by Discuz! X3.4© 2001-2013 Discuz Team.( 京ICP备17022993号-3 )