/Release/v1.2.3
终端 TUI 一键配置工具,无需 GUI 环境,纯终端交互运行。
适用平台:Linux、macOS、Windows Git Bash / MSYS / Cygwin
curl -fsSL https://cnb.cool/dmxapi/openclaw_config/-/git/raw/main/install.sh | sh
指定安装目录:
curl -fsSL https://cnb.cool/dmxapi/openclaw_config/-/git/raw/main/install.sh | env INSTALL_DIR=/usr/local/bin sh
安装当前 Release 版本:
curl -fsSL https://cnb.cool/dmxapi/openclaw_config/-/git/raw/main/install.sh | env OPENCLAW_CONFIG_VERSION=v1.2.3 sh
说明:Windows PowerShell 用户建议使用下方附件方式;如果使用的是 Git Bash / MSYS / Cygwin,也可以直接执行上面的
curl | sh命令。
| 平台 | 架构 | 文件 |
|---|---|---|
| Linux | x64 | openclaw-config-linux-amd64 |
| Linux | ARM64 | openclaw-config-linux-arm64 |
| Windows | x64 | openclaw-config-windows-amd64.exe |
| macOS | Intel | openclaw-config-macos-amd64 |
| macOS | Apple Silicon | openclaw-config-macos-arm64 |
openclaw-config --version
openclaw-config
# x64
chmod +x openclaw-config-linux-amd64
./openclaw-config-linux-amd64
# ARM64
chmod +x openclaw-config-linux-arm64
./openclaw-config-linux-arm64
# Intel
chmod +x openclaw-config-macos-amd64
./openclaw-config-macos-amd64
# Apple Silicon
chmod +x openclaw-config-macos-arm64
./openclaw-config-macos-arm64
macOS 安全提示:首次运行提示"无法验证开发者"时,可右键点击 → 选择"打开",或执行:
xattr -rd com.apple.quarantine ./openclaw-config-macos-arm64
在文件所在目录按住 Shift 并右键 → 选择"在此处打开 PowerShell 窗口",执行:
.\openclaw-config-windows-amd64.exe
启动后按提示依次填写:
https://www.dmxapi.cn/v1,通常无需修改sk-...