openclaw install guide

OpenClaw 安装配置完全指南:3 分钟启动你的龙虾

安装前准备 系统要求 项目 最低要求 推荐配置 操作系统 Windows 10 / macOS 12 / Linux Windows 11 / macOS 14 / Ubuntu 22.04 内存 2GB 4GB 以上 磁盘 10GB 20GB 以上 网络 稳定连接 高速连接 软件依赖 Node.js:16 或以上版本 Python:3.8 或以上版本 Git:用于版本控制 安装步骤 第一步:安装 Node.js Windows 访问 nodejs.org 下载 LTS 版本 运行安装程序 验证安装:node --version macOS # 使用 Homebrew 安装 brew install node # 验证安装 node --version Linux # Ubuntu/Debian curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - sudo apt-get install -y nodejs # 验证安装 node --version 第二步:安装 Python Windows 访问 python.org 下载最新版本 运行安装程序(勾选 Add to PATH) 验证安装:python --version macOS # 使用 Homebrew 安装 brew install python # 验证安装 python3 --version Linux # Ubuntu/Debian sudo apt-get install python3 python3-pip # 验证安装 python3 --version 第三步:安装 Git Windows 访问 git-scm.com 下载 Windows 版本 运行安装程序 验证安装:git --version macOS # 使用 Homebrew 安装 brew install git # 验证安装 git --version Linux # Ubuntu/Debian sudo apt-get install git # 验证安装 git --version 安装 OpenClaw 使用 npm 安装 # 安装 OpenClaw npm install -g openclaw # 验证安装 openclaw --version 使用 pip 安装 # 安装 OpenClaw pip install openclaw # 验证安装 openclaw --version 配置 OpenClaw 创建配置文件 # 创建配置目录 mkdir -p ~/.qclaw/config # 创建配置文件 touch ~/.qclaw/config/openclaw.toml 编辑配置文件 # ~/.qclaw/config/openclaw.toml [general] name = "我的龙虾" timezone = "Asia/Shanghai" language = "zh-CN" [llm] provider = "openai" model = "gpt-4" api_key = "YOUR_API_KEY" [channels] [channels.webchat] enabled = true port = 8080 配置 LLM 提供商 OpenAI [llm] provider = "openai" model = "gpt-4" api_key = "sk-xxxxxxxxxxxxxxxxxxxxxxxx" Anthropic [llm] provider = "anthropic" model = "claude-3-opus-20240229" api_key = "sk-ant-xxxxxxxxxxxxxxxxxxxxxxxx" 本地模型 [llm] provider = "local" model = "qwen3.6-35b-a3b" base_url = "http://localhost:1234/v1" api_key = "not-needed" 启动 OpenClaw 启动服务 # 启动 OpenClaw openclaw start # 验证启动 openclaw status 访问 Web 界面 http://localhost:8080 接入消息渠道 接入 Telegram 创建 Telegram Bot 获取 Bot Token 配置 OpenClaw [channels.telegram] token = "YOUR_BOT_TOKEN" webhook_url = "https://example.com/webhook" 接入 Discord 创建 Discord Bot 获取 Bot Token 配置 OpenClaw [channels.discord] token = "YOUR_BOT_TOKEN" gateway = true 接入 WhatsApp 创建 WhatsApp Business API 账号 获取 API Key 配置 OpenClaw [channels.whatsapp] api_key = "YOUR_API_KEY" phone_number_id = "YOUR_PHONE_NUMBER_ID" 验证安装 检查服务状态 # 检查服务状态 openclaw status 测试对话 通过 Web 界面或消息渠道发送消息,测试龙虾是否正常工作。 ...

2026-06-27 · 2 min · 407 words · 硅基 AGI 探索者
openclaw deployment guide

OpenClaw 部署完整指南:从本地到云端

部署概述 OpenClaw 支持多种部署方式,包括本地部署、云端部署和混合部署。通过灵活的部署方式,用户可以根据自己的需求选择合适的部署方案。 部署方式 1. 本地部署 本地部署是将 OpenClaw 部署在本地计算机上。 特点: 数据本地化 隐私保护强 配置简单 适用场景: 个人使用 数据敏感 网络不稳定 2. 云端部署 云端部署是将 OpenClaw 部署在云服务器上。 特点: 访问方便 资源弹性 配置复杂 适用场景: 多设备访问 资源需求高 网络稳定 3. 混合部署 混合部署是将 OpenClaw 部分部署在本地,部分部署在云端。 特点: 兼顾隐私和方便 配置复杂 资源利用率高 适用场景: 数据敏感但需要多设备访问 资源需求高但隐私要求高 网络不稳定但需要高可用性 部署步骤 1. 环境准备 系统要求: 操作系统:Windows、macOS、Linux 内存:2GB 以上 磁盘:10GB 以上 网络:稳定网络连接 软件要求: Node.js 16+ Python 3.8+ Git 2. 安装 OpenClaw # 安装 OpenClaw npm install -g openclaw # 验证安装 openclaw --version 3. 配置 OpenClaw 配置文件: ...

2026-06-27 · 1 min · 195 words · 硅基 AGI 探索者
codex install config guide

Codex 安装配置完全指南:从零到生产

四种接入方式 Codex 2026 提供四种接入方式,适用于不同场景: 方式 适合人群 功能范围 安装难度 网页端 所有用户 编程 + 对话 ★ 桌面 App 日常使用 全功能 Agent ★★ IDE 插件 开发者 编程为主 ★★ CLI 高级用户 全功能 + 脚本化 ★★★ 方式一:网页端 直接访问 chatgpt.com/codex,登录 OpenAI 账号即可使用。 适合快速体验,无需安装任何东西。但无法使用 OSS 模式和本地文件操作。 方式二:桌面 App Windows 安装 # 方式1: Winget winget install OpenAI.Codex # 方式2: 直接下载 # 从 https://openai.com/codex/download 下载 .exe 安装包 macOS 安装 # Homebrew brew install --cask codex # 或直接下载 .dmg Linux 安装 # AppImage wget https://openai.com/codex/download/codex-linux.AppImage chmod +x codex-linux.AppImage sudo mv codex-linux.AppImage /usr/local/bin/codex 桌面 App 提供完整的 Agent 功能,包括文件操作、浏览器控制等。 ...

2026-06-25 · 4 min · 746 words · 硅基 AGI 探索者
鲁ICP备2026018361号