docs: platform-specific install commands for Linux/macOS/Windows

All 8 READMEs (EN/RU/ZH/ES × root + claude/) now show separate
commands for Linux (sudo bash), macOS (bash), Windows (PowerShell/CMD).
Added .gitignore for __pycache__.
This commit is contained in:
delta-cloud-208e
2026-02-21 12:07:44 +00:00
parent 82ec4252d2
commit c3f7c9ccf8
9 changed files with 273 additions and 148 deletions

View File

@@ -18,34 +18,56 @@
详细信息请参阅各产品文件夹中的 README。
### Claude Code — 一键安装
### Claude Code — 安装
所有依赖自动安装git、python3、Node.js、Claude Code
**Linux (Debian/Ubuntu/RHEL/Fedora):**
```bash
sudo bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
```
自动安装所有依赖git、python3、Node.js、Claude Code并应用补丁。
**macOS:**
```bash
bash <(curl -s https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh)
```
### 手动安装
**Windows以管理员身份运行 PowerShell:**
```powershell
git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
```
### 手动安装(所有平台)
```bash
git clone --depth 1 https://git.sensey24.ru/aibot777/unlimitedcoding.git
cd unlimitedcoding
sudo bash claude/uclaude_update.sh --force
```
| 平台 | 命令 |
|------|------|
| Linux | `sudo bash claude/uclaude_update.sh --force` |
| macOS | `bash claude/uclaude_update.sh --force` |
| Windows CMD | `claude\uclaude_update.bat --force` |
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force` |
### 更新
```bash
cd ~/unlimitedcoding
sudo bash claude/uclaude_update.sh
```
| 平台 | 命令 |
|------|------|
| Linux | `cd ~/unlimitedcoding && sudo bash claude/uclaude_update.sh` |
| macOS | `cd ~/unlimitedcoding && bash claude/uclaude_update.sh` |
| Windows | `cd %USERPROFILE%\unlimitedcoding && claude\uclaude_update.bat` |
## 自动安装的组件
- **Git** — 通过 apt/dnf/yum/brew如未安装
- **Python 3** — 通过 apt/dnf/yum/brew如未安装
- **Node.js v24.13+** — 通过 nodesource/brew如未安装或版本过旧
- **Claude Code** — 通过 npm如未安装
- **修补版 cli.js** — 替换原版并创建备份
- **设置** — API 端点、模型、所有用户的权限配置
| 组件 | Linux | macOS | Windows |
|------|-------|-------|---------|
| Git | apt/dnf/yum | brew | winget |
| Python 3 | apt/dnf/yum | brew | winget |
| Node.js v24.13+ | nodesource | brew | winget |
| Claude Code | npm | npm | npm |
| 修补版 cli.js | 替换并备份 | 替换并备份 | 替换并备份 |
| 设置 | 所有用户 | 所有用户 | 所有用户 |