Files
openclaw-installer/README.md
T

38 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# OpenClaw 一键安装脚本
在全新 VPS 上一条命令装好 OpenClaw:自动装 Node.js 24 与依赖、全局安装 `openclaw`、中文向导配置 Telegram 与模型、启动 daemon 并验证。
## 安装
```bash
bash <(curl -fsSL https://mjjtop.com/admin/openclaw-installer/raw/branch/main/install.sh/install.sh)
```
或者:
```bash
curl -fsSL https://mjjtop.com/admin/openclaw-installer/raw/branch/main/install.sh/install.sh -o install.sh && bash install.sh
```
需要 root(或 `sudo bash install.sh`)。
## 支持的系统
- Debian 12 / 13
- Ubuntu 22.04 / 24.04
- 尽力兼容 RHEL / Rocky / AlmaLinux / Fedoradnf 系,未完整测试)
- 架构:x86_64 (amd64) / aarch64 (arm64)
- 内存建议 ≥ 1 GB;低于 1 GB 脚本会提示先加 swap
## 说明
- 重复运行安全:已安装会询问是否更新,不会破坏现有安装。
- 写配置前自动备份为 `openclaw.json.bak.<时间戳>`,只修改你填写的字段。
- 安装日志:`/var/log/openclaw-installer.log`
- 非交互安装(只装不问):`OPENCLAW_NONINTERACTIVE=1 bash install.sh`
- **不含任何埋点、统计或数据上报。**
## 免责声明
本脚本按“现状”提供,不附带任何形式的担保。脚本会修改系统软件包与 OpenClaw 配置文件,请在了解其行为后自行承担使用风险;生产环境请先备份。配置文件含 Bot Token 与 API Key,请勿外发或提交到代码仓库。