windows11环境下的openclaw 保姆级安装教程

发布时间:2026/5/20 4:27:10

windows11环境下的openclaw 保姆级安装教程 windows11环境下的openclaw 保姆级安装教程openclaw 官网https://docs.openclaw.ai/powershell一键安装win R 打开运行输入powershell,如果显示红色报错那么可能的原因是没有开启脚本执行权限 ​ #右击开始菜单选择终端管理员并且输入以下命令 Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope Machine #或者执行 Set-ExecutionPolicy RemoteSigned -Scope CurrentUser #开启权限后执行 iwr -useb https://openclaw.ai/install.ps1 | iex如果期间仍然报错看是否安装了git和node其安装教程不在这里陈述如需要可以转到https://blog.csdn.net/feigerger/article/details/159584455安装期间可能遇到的问题[OK] Windows detected [!] Node.js v18.14.1 found, but v22 required [*] Installing Node.js... Using winget... /[!] Node.js v18.14.1 found, but v22 required [!] winget completed, but Node.js is still unavailable in this shell Restart PowerShell and re-run the installer if Node.js was installed successfully.脚本要求 node版本v22**OpenClaw 安装第一步的“安全确认”界面了 OpenClaw 2026.3.13 (61d171a) — Ill butter your workflow like a lobster roll: messy, delicious, effective. ​ Windows detected - OpenClaw runs great on WSL2! Native Windows might be trickier. Quick setup: wsl --install (one command, one reboot) Guide: https://docs.openclaw.ai/windows ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄ ██░▄▄▄░██░▄▄░██░▄▄▄██░▀██░██░▄▄▀██░████░▄▄▀██░███░██ ██░███░██░▀▀░██░▄▄▄██░█░█░██░█████░████░▀▀░██░█░█░██ ██░▀▀▀░██░█████░▀▀▀██░██▄░██░▀▀▄██░▀▀░█░██░██▄▀▄▀▄██ ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀ OPENCLAW ​ T OpenClaw onboarding | o Security --------------------------------------------------------------------------------- | | | Security warning — please read. | | | | OpenClaw is a hobby project and still in beta. Expect sharp edges. | | By default, OpenClaw is a personal agent: one trusted operator boundary. | | This bot can read files and run actions if tools are enabled. | | A bad prompt can trick it into doing unsafe things. | | | | OpenClaw is not a hostile multi-tenant boundary by default. | | If multiple users can message one tool-enabled agent, they share that delegated tool | | authority. | | | | If you’re not comfortable with security hardening and access control, don’t run | | OpenClaw. | | Ask someone experienced to help before enabling tools or exposing it to the internet. | | | | Recommended baseline: | | - Pairing/allowlists mention gating. | | - Multi-user/shared inbox: split trust boundaries (separate gateway/credentials, ideally | | separate OS users/hosts). | | - Sandbox least-privilege tools. | | - Shared inboxes: isolate DM sessions (session.dmScope: per-channel-peer) and keep | | tool access minimal. | | - Keep secrets out of the agent’s reachable filesystem. | | - Use the strongest available model for any bot with tools or untrusted inboxes. | | | | Run regularly: | | openclaw security audit --deep | | openclaw security audit --fix | | | | Must read: https://docs.openclaw.ai/gateway/security | | | -------------------------------------------------------------------------------------------- | o I understand this is personal-by-default and shared/multi-user use requires lock-down. Continue? ##你是否理解这个工具默认是“高权限代理”并愿意承担风险继续 | No查看openclaw是否正确的安装金PATHSettled in. Time to automate your life whether youre ready or not. Starting setup... openclaw command not found on PATH. 所在位置 行:325 字符: 9 throw openclaw command not found on PATH. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ CategoryInfo : OperationStopped: (openclaw command not found on PATH.:String) [], RuntimeException FullyQualifiedErrorId : openclaw command not found on PATH.检测到你有配置文件 但没有关键配置比如 API Key 可以选择Update values如果只是尝鲜建议选择qwen,因为他属于认证登录不用购买token如果选择qwen,模型可以选择qwen-portal/coder-model加入联网能力建议选择Skip for now,到最后在配置即可选择安装什么插件建议先跳过Install missing skill dependencies | [•] Skip for now (Continue without installing dependencies) | [ ] 1password | [ ] blogwatcher | [ ] blucli | [ ] camsnap | [ ] clawhub | [ ] eightctl | [ ] ✨ gemini | [ ] gifgrep | [ ] github | [ ] gog | [ ] goplaces | [ ] himalaya | [ ] mcporter | [ ] nano-banana-pro | [ ] nano-pdf | [ ] obsidian | [ ] openai-whisper | [ ] openhue | [ ] oracle | [ ] ordercli | [ ] sag | [ ] songsee | [ ] sonoscli | ...后续的都选择no即可Set GOOGLE_PLACES_API_KEY for goplaces? | Yes / No — Set GEMINI_API_KEY for nano-banana-pro? | Yes / No — Set NOTION_API_KEY for notion? | Yes / No — Set NOTION_API_KEY for notion? | Yes / No —选择Skip for nowSet OPENAI_API_KEY for openai-image-gen? | No | o Set OPENAI_API_KEY for openai-whisper-api? | No | o Set ELEVENLABS_API_KEY for sag? | No | o Hooks ------------------------------------------------------------------ | | | Hooks let you automate actions when agent commands are issued. | | Example: Save session context to memory when you issue /new or /reset. | | | | Learn more: https://docs.openclaw.ai/automation/hooks | | | -------------------------------------------------------------------------- | * Enable hooks? | [•] Skip for now | [ ] boot-md | [ ] bootstrap-extra-files | [ ] command-logger | [ ] session-memory —OpenClaw 命令中文速查表基础参数openclaw -h / --help # 查看帮助所有命令说明 openclaw -V / --version # 查看版本号 openclaw --dev # 开发模式隔离环境避免污染正式配置 openclaw --log-level # 设置日志级别调试用 openclaw --no-color # 关闭终端颜色 openclaw --profile name # 使用不同配置环境多账号/多项目Agent / AI 核心openclaw agent # 执行一次 AI 对话/任务 openclaw agents # 管理 AI 实例创建/查看/删除 openclaw sessions # 查看对话历史会话渠道飞书/Telegram等openclaw channels # 管理聊天渠道飞书/Telegram/Discord openclaw message # 发送/读取消息 openclaw directory # 查询用户ID/群ID很关键 openclaw pairing # 设备/账号绑定网关最重要的后台openclaw gateway # 启动网关必须运行 openclaw gateway stop # 停止网关 openclaw health # 检查网关状态 openclaw logs # 查看日志排错神器 openclaw status # 查看整体运行状态配置 初始化openclaw onboard # 一键初始化推荐新手用 openclaw setup # 初始化配置 openclaw configure # 重新配置交互式 openclaw config # 修改配置高级 openclaw reset # 重置环境自动化 / 定时任务openclaw cron # 定时任务自动执行 openclaw hooks # 触发器自动响应事件工具 / 扩展openclaw plugins # 插件管理 openclaw skills # AI能力技能 openclaw sandbox # 沙箱隔离运行环境 openclaw browser # 内置浏览器控制数据 / 记忆openclaw memory # AI记忆管理 openclaw backup # 备份数据安全 权限openclaw security # 安全检查非常重要 openclaw approvals # 执行权限控制 openclaw secrets # 密钥管理网络 /系统openclaw dns # 网络解析工具 openclaw system # 系统状态/事件 openclaw node # 节点服务 openclaw nodes # 节点管理其他辅助openclaw docs # 查官方文档 openclaw doctor # 自动诊断问题强烈推荐 openclaw update # 更新版本 openclaw uninstall # 卸载保留CLI openclaw tui # 终端UI界面 openclaw dashboard # 打开网页控制台常用命令openclaw gateway # 启动系统 openclaw logs --follow # 实时看日志 openclaw status # 看状态 openclaw agent # 调用AI openclaw directory # 查群ID

相关新闻