Claude Skill
hillerliao/install-openclaw-on-termux
Automate Openclaw installation, configuration, and management on Termux with this lightweight Shell script. Ideal for Android users seeking a streamlined deployment tool.
Overview
Repository
Install this Skill
git clone https://github.com/yourusername/install-openclaw-on-termux.sh.gitRegistry
Summary
A Shell script that automates the installation, configuration, and management of Openclaw on Termux, providing a streamlined deployment tool for Android users.
该脚本是Openclaw在Termux环境下的部署工具,旨在简化Openclaw在Termux中的安装、配置及管理流程。
Key features
- Automated installation of Openclaw on Termux
- Simplified configuration and management workflow
- Lightweight Shell script for easy customization
- Designed specifically for Android Termux environment
Use cases
- Deploying Openclaw on Android devices via Termux
- Quickly setting up Openclaw for development or testing
- Managing Openclaw instances without manual configuration
README excerpt
# Openclaw Termux 一键部署脚本 > 🦞 在 Android Termux 环境下一键部署 Openclaw,让您在移动设备上轻松运行 AI 网关服务 [](LICENSE) [](https://termux.com/) [](https://nodejs.org/) [](README.en.md) [](README.md)  [更多预览图](https://mp.weixin.qq.com/s/KASWkkuD2-Q5f22FDQ7bNA) ## 📖 目录 - [项目简介](#项目简介) - [功能特性](#功能特性) - [系统要求](#系统要求) - [快速开始](#快速开始) - [详细使用](#详细使用) - [配置说明](#配置说明) - [常用命令](#常用命令) - [故障排除](#故障排除) - [卸载指南](#卸载指南) - [技术细节](#技术细节) - [常见问题](#常见问题) - [贡献指南](#贡献指南) - [许可证](#许可证) --- ## 项目简介 Openclaw 是一个强大的 AI 网关服务,本脚本专门为在 Android Termux 环境中部署 Openclaw 而设计。通过自动化安装流程,解决了 Termux 环境下的诸多兼容性问题,包括: - ✅ 自动检查并安装所有必要的依赖包 - ✅ 自动应用 Android 兼容性补丁(日志路径、剪贴板等) - ✅ 配置 NPM 全局环境和镜像源 - ✅ 设置 Termux 唤醒锁防止休眠 - ✅ 使用 tmux 实现后台持久运行 - ✅ 提供便捷的别名命令管理服务 --- ## 功能特性 ### 🚀 一键部署 ```bash curl -sL https://s.zhihai.me/openclaw > openclaw-install.sh && source openclaw-install.sh ``` ### 🔧 自动化配置 - **依赖检查**:自动检测并安装 Node.js、Git、CMake 等必要组件 - **版本验证**:确保 Node.js 版本 ≥ 22 - **镜像加速**:自动配置 NPM 镜像源为国内镜像 - **兼容性补丁**: - 修复 Logger 路径(`/tmp/openclaw` → `$HOME/openclaw-logs`) - 修复剪贴板模块(Termux 环境兼容) - 创建 `/tmp` 符号链接 ### 💪 高可用性 - **唤醒锁**:自动激活 Termux 唤醒锁,防止系统休眠 - **后台运行**:使用 tmux 实现服务持久化 - **自动重启**:提供一键重启命令 - **日志管理**:实时日志记录和查看 ### 🛡️ 安全机制 - **Token 认证**:支持自定义访问 Token - **端口配置**:可自定义 Gateway 端口 - **SSH 服务**:可选自动启动 SSHD ### 📊 监控与管理 - **实时日志**:通过 `oclog` 命令查看运行状态 - **服务控制**:提供启动、停止、重启快捷命令 - **详细日志**:完整的安装和运行日志记录 --- ## 系统要求 | 组件 | 要求 | |------|------|
Topics
No topics yet.