136 lines
3.6 KiB
Markdown
Executable File
136 lines
3.6 KiB
Markdown
Executable File
# Unlimited Coding
|
||
|
||
🌐 [English](README.md) | [Русский](README_ru.md) | [中文](README_zh.md) | [Español](README_es.md)
|
||
|
||
支持自定义API端点的AI编码工具。
|
||
|
||
## 产品
|
||
|
||
| 文件夹 | 工具 | 状态 |
|
||
|-------|-----------|--------|
|
||
| [claude/](claude/) | Claude Code | 活跃 (v2.1.62) |
|
||
| codex/ | OpenAI Codex CLI | 计划中 |
|
||
| gemini/ | Gemini CLI | 计划中 |
|
||
| qwen/ | Qwen Code | 计划中 |
|
||
| antigravity/ | Antigravity | 计划中 |
|
||
|
||
## 快速开始
|
||
|
||
### 先决条件检查
|
||
|
||
安装前,请确认已安装 Node.js v24.13+:
|
||
|
||
```bash
|
||
# 检查 Node.js 版本
|
||
node --version
|
||
|
||
# 如果缺少 Node.js 或版本过旧,请安装:
|
||
# Linux (Debian/Ubuntu):
|
||
sudo apt update && sudo apt install -y nodejs npm
|
||
|
||
# Linux (RHEL/Fedora):
|
||
sudo dnf install -y nodejs npm
|
||
|
||
# macOS:
|
||
brew install node
|
||
|
||
# Windows (以管理员身份运行 PowerShell):
|
||
winget install OpenJS.NodeJS
|
||
```
|
||
|
||
### 替代方案 - 自动安装 Node.js
|
||
|
||
如果需要自动安装或更新 Node.js:
|
||
|
||
**Linux:**
|
||
```bash
|
||
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash - && sudo apt-get install -y nodejs
|
||
```
|
||
|
||
**macOS:**
|
||
```bash
|
||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||
brew install node
|
||
```
|
||
|
||
**Windows:**
|
||
```powershell
|
||
# 以管理员身份运行
|
||
winget install OpenJS.NodeJS
|
||
```
|
||
|
||
### Claude Code — 安装
|
||
|
||
在任何平台上只需两行命令:
|
||
|
||
**Linux / macOS:**
|
||
```bash
|
||
npm config set @anthropic-ai:registry https://npm.sensey24.ru/
|
||
npm install -g @anthropic-ai/claude-code
|
||
```
|
||
|
||
**Windows (PowerShell):**
|
||
```powershell
|
||
npm config set "@anthropic-ai:registry" "https://npm.sensey24.ru/"
|
||
npm install -g @anthropic-ai/claude-code
|
||
```
|
||
|
||
> 需要Node.js。安装地址:https://nodejs.org/
|
||
|
||
### 更新
|
||
|
||
同样的两行命令——npm会自动从我们的注册表下载最新补丁版本。
|
||
|
||
### 替代方案——自动安装程序(如果没有Node.js)
|
||
|
||
自动安装Node.js、Claude Code和补丁。
|
||
|
||
**Linux (Debian/Ubuntu/RHEL/Fedora):**
|
||
```bash
|
||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||
-o /tmp/uclaude.sh && sudo bash /tmp/uclaude.sh
|
||
```
|
||
|
||
**macOS:**
|
||
```bash
|
||
curl -fsSL -H "Authorization: token cadffcb0a6a3be728ac1ff619bb40c86588f6837" \
|
||
https://git.sensey24.ru/aibot777/unlimitedcoding/raw/branch/master/claude/uclaude_install.sh \
|
||
-o /tmp/uclaude.sh && bash /tmp/uclaude.sh
|
||
```
|
||
|
||
**Windows (以管理员身份运行PowerShell):**
|
||
```powershell
|
||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||
cd unlimitedcoding
|
||
powershell -ExecutionPolicy Bypass -File claude\uclaude_update.ps1 --force
|
||
```
|
||
|
||
### 手动从发布版安装
|
||
|
||
克隆仓库并运行安装程序:
|
||
|
||
```bash
|
||
git clone --depth 1 https://x-token:cadffcb0a6a3be728ac1ff619bb40c86588f6837@git.sensey24.ru/aibot777/unlimitedcoding.git
|
||
cd unlimitedcoding
|
||
```
|
||
|
||
<!-- MANUAL_VERSION:START -->
|
||
| 平台 | 命令 |
|
||
|-----------|---------|
|
||
| Linux / macOS | `sudo bash claude/releases/v2.1.62/install.sh` |
|
||
| Windows CMD | `claude\releases\v2.1.62\install.bat` |
|
||
| Windows PowerShell | `powershell -ExecutionPolicy Bypass -File claude\releases\v2.1.62\install.ps1` |
|
||
<!-- MANUAL_VERSION:END -->
|
||
|
||
## 自动安装的内容
|
||
|
||
| 组件 | 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 | 带备份替换 | 带备份替换 | 带备份替换 |
|
||
| 设置 | 所有用户 | 所有用户 | 所有用户 |
|