mirror of
https://github.com/catlog22/Claude-Code-Workflow.git
synced 2026-02-05 01:50:27 +08:00
feat: Add version selection support to installation scripts
Enhanced both Windows and Linux/macOS installation scripts with flexible version selection: New Features: - Version selection: stable (default), latest, or branch - Specific release tag installation (e.g., v3.2.0) - Auto-detection of latest stable release via GitHub API - Clear version information displayed during installation Installation Script Updates: - install-remote.ps1: Added -Version, -Tag parameters - install-remote.sh: Added --version, --tag flags - Updated help documentation with examples - Improved user prompts with version information Documentation Updates: - README.md: Added installation examples for all version types - README_CN.md: Added Chinese installation examples - Clear distinction between stable, latest, and specific versions Examples: - Stable (recommended): Default one-liner installation - Latest: --version latest flag - Specific: --version stable --tag v3.2.0 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
28
README.md
28
README.md
@@ -39,6 +39,8 @@
|
||||
|
||||
### **🚀 Quick One-Line Installation**
|
||||
|
||||
#### **Install Latest Stable Release (Recommended)**
|
||||
|
||||
**Windows (PowerShell):**
|
||||
```powershell
|
||||
Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.ps1" -UseBasicParsing).Content
|
||||
@@ -49,6 +51,32 @@ Invoke-Expression (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/cat
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.sh)
|
||||
```
|
||||
|
||||
#### **Install Latest Development Version**
|
||||
|
||||
**Windows (PowerShell):**
|
||||
```powershell
|
||||
$script = (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.ps1" -UseBasicParsing).Content
|
||||
[ScriptBlock]::Create($script).Invoke('-Version', 'latest')
|
||||
```
|
||||
|
||||
**Linux/macOS (Bash/Zsh):**
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.sh) --version latest
|
||||
```
|
||||
|
||||
#### **Install Specific Version**
|
||||
|
||||
**Windows (PowerShell):**
|
||||
```powershell
|
||||
$script = (Invoke-WebRequest -Uri "https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.ps1" -UseBasicParsing).Content
|
||||
[ScriptBlock]::Create($script).Invoke('-Version', 'stable', '-Tag', 'v3.2.0')
|
||||
```
|
||||
|
||||
**Linux/macOS (Bash/Zsh):**
|
||||
```bash
|
||||
bash <(curl -fsSL https://raw.githubusercontent.com/catlog22/Claude-Code-Workflow/main/install-remote.sh) --version stable --tag v3.2.0
|
||||
```
|
||||
|
||||
### **✅ Verify Installation**
|
||||
After installation, run the following command to ensure CCW is working:
|
||||
```bash
|
||||
|
||||
Reference in New Issue
Block a user