乐于分享
好东西不私藏

openclaw安装(记录)

openclaw安装(记录)

一、环境前提

Node.js ≥22(一键脚本会自动装)

macOS/Linux/WSL2Windows 优先用 WSL2,原生也支持

准备:Qwen3.6-Plus/API Key

二、配置模型

进入阿里百炼官网https://bailian.console.aliyun.com/cn-beijing#/home,选择创建和管理API Key,选择Qwen3.6-Plus

三、一键安装

curl -fsSL https://openclaw.ai/install.sh | bash

模型选择

Custom Provider:

Provider name:Bailian

Base URL:https://dashscope.aliyuncs.com/compatible-mode/v1

API Key:sk-2xxx

启动前,open~/.openclaw/openclaw.json

agents->defaults->compaction->reserveTokensFloor:20000

启动执行:openclaw gateway restart

后续会记录openclaw相关应用