mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-11 02:33:51 +08:00
docs: 简化 CLI 工具安装说明
- 移除详细配置步骤 - 使用表格形式简明展示 - 提供官方文档链接
This commit is contained in:
67
README.md
67
README.md
@@ -74,67 +74,14 @@ ccw install -m Global
|
|||||||
|
|
||||||
## 🛠️ CLI Tool Installation
|
## 🛠️ CLI Tool Installation
|
||||||
|
|
||||||
CCW supports multiple CLI tools for code analysis and generation. Install as needed:
|
CCW supports multiple CLI tools. Install as needed:
|
||||||
|
|
||||||
### 🔷 Gemini CLI
|
| CLI | Description | Official Docs |
|
||||||
|
|-----|-------------|---------------|
|
||||||
Google's official Gemini CLI:
|
| 🔷 **Gemini** | Google AI analysis | [github.com/anthropics/anthropic-quickstarts](https://github.com/anthropics/anthropic-quickstarts) |
|
||||||
|
| 🟢 **Codex** | OpenAI autonomous coding | [github.com/openai/codex](https://github.com/openai/codex) |
|
||||||
```bash
|
| 🟠 **OpenCode** | Open-source multi-model | [github.com/opencode-ai/opencode](https://github.com/opencode-ai/opencode) |
|
||||||
# Install
|
| 🟣 **Qwen** | Alibaba Cloud Qwen | [github.com/QwenLM/Qwen](https://github.com/QwenLM/Qwen) |
|
||||||
npm install -g @anthropic-ai/gemini-cli
|
|
||||||
|
|
||||||
# Configure API Key
|
|
||||||
export GEMINI_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# Verify
|
|
||||||
gemini --version
|
|
||||||
```
|
|
||||||
|
|
||||||
### 🟢 Codex CLI
|
|
||||||
|
|
||||||
OpenAI Codex CLI (recommended for long autonomous coding):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Install
|
|
||||||
npm install -g @openai/codex
|
|
||||||
|
|
||||||
# Configure API Key
|
|
||||||
export OPENAI_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# Verify
|
|
||||||
codex --version
|
|
||||||
```
|
|
||||||
|
|
||||||
### 🟠 OpenCode CLI
|
|
||||||
|
|
||||||
Open-source multi-model CLI:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Install
|
|
||||||
npm install -g opencode-ai
|
|
||||||
|
|
||||||
# Configure (supports multiple models)
|
|
||||||
export OPENCODE_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# Verify
|
|
||||||
opencode --version
|
|
||||||
```
|
|
||||||
|
|
||||||
### 🟣 Qwen CLI
|
|
||||||
|
|
||||||
Alibaba Cloud Qwen CLI:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# Install
|
|
||||||
pip install qwen-cli
|
|
||||||
|
|
||||||
# Configure
|
|
||||||
export QWEN_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# Verify
|
|
||||||
qwen --version
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
69
README_CN.md
69
README_CN.md
@@ -72,69 +72,16 @@ ccw install -m Global
|
|||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## CLI 工具安装
|
## 🛠️ CLI 工具安装
|
||||||
|
|
||||||
CCW 支持多种 CLI 工具进行代码分析和生成。以下是各工具的安装方式:
|
CCW 支持多种 CLI 工具,按需安装:
|
||||||
|
|
||||||
### Gemini CLI
|
| CLI | 说明 | 官方文档 |
|
||||||
|
|-----|------|----------|
|
||||||
Google 官方 Gemini CLI 工具:
|
| 🔷 **Gemini** | Google AI 分析 | [github.com/anthropics/anthropic-quickstarts](https://github.com/anthropics/anthropic-quickstarts) |
|
||||||
|
| 🟢 **Codex** | OpenAI 自主编码 | [github.com/openai/codex](https://github.com/openai/codex) |
|
||||||
```bash
|
| 🟠 **OpenCode** | 开源多模型 | [github.com/opencode-ai/opencode](https://github.com/opencode-ai/opencode) |
|
||||||
# 安装
|
| 🟣 **Qwen** | 阿里云 Qwen | [github.com/QwenLM/Qwen](https://github.com/QwenLM/Qwen) |
|
||||||
npm install -g @anthropic-ai/gemini-cli
|
|
||||||
|
|
||||||
# 配置 API Key
|
|
||||||
export GEMINI_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# 验证
|
|
||||||
gemini --version
|
|
||||||
```
|
|
||||||
|
|
||||||
### Codex CLI
|
|
||||||
|
|
||||||
OpenAI Codex CLI 工具(推荐用于长时间自主编码):
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 安装
|
|
||||||
npm install -g @openai/codex
|
|
||||||
|
|
||||||
# 配置 API Key
|
|
||||||
export OPENAI_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# 验证
|
|
||||||
codex --version
|
|
||||||
```
|
|
||||||
|
|
||||||
### OpenCode CLI
|
|
||||||
|
|
||||||
开源多模型 CLI 工具:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 安装
|
|
||||||
npm install -g opencode-ai
|
|
||||||
|
|
||||||
# 配置(支持多种模型)
|
|
||||||
export OPENCODE_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# 验证
|
|
||||||
opencode --version
|
|
||||||
```
|
|
||||||
|
|
||||||
### Qwen CLI
|
|
||||||
|
|
||||||
阿里云 Qwen CLI 工具:
|
|
||||||
|
|
||||||
```bash
|
|
||||||
# 安装
|
|
||||||
pip install qwen-cli
|
|
||||||
|
|
||||||
# 配置
|
|
||||||
export QWEN_API_KEY="your-api-key"
|
|
||||||
|
|
||||||
# 验证
|
|
||||||
qwen --version
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user