Files
shell/moltbot/README.md
user123 9927adf716 add
2026-01-30 01:13:35 +08:00

38 lines
901 B
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.
## Moltbot (原 ClawdBot) 一键安装与管理脚本
### linux 脚本
```
bash <(curl -sSL https://raw.githubusercontent.com/sky22333/shell/main/moltbot/install.sh)
```
### windows 脚本
直接下载使用编译好的二进制文件https://github.com/sky22333/shell/raw/main/moltbot/installer/installer.exe
下载后双击运行
支持环境变量配置代理域名(已默认配置)
```
# PowerShell系统级管理员
setx GIT_PROXY "https://g.blfrp.cn/" /M
```
如果你选择跳过设置TG机器人启动后可以访问ClawdBot内置的Web面板进行对话`http://127.0.0.1:18789`
### 构建(可选)
如果你不放心预编译的二进制文件,可以自己构建。
1windows 安装go环境https://golang.org/doc/install
2进入项目目录
```
cd moltbot/installer
```
3安装依赖
```
go mod tidy
```
4编译
```
go build -o installer.exe .
```