Add native PowerShell installer for Windows

Features:
- Automatic download of repository from GitHub
- Full installation of all components (skills, agents, hooks, commands, plugins, scripts)
- Claude Code detection and optional installation via npm
- Dependency checking (Node.js, Git, Python, Ralph Orchestrator)
- Automatic backup of existing configuration
- Color-coded output for better user experience
- Error handling with clear messages

Usage:
  irm https://.../install-windows.ps1 | pwsh -ExecutionPolicy Bypass -
  OR right-click "Run with PowerShell"

Updated README with PowerShell installer as Option 1 (recommended)
Updated WordPress article with Windows PowerShell option

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
uroma
2026-01-22 19:09:49 +00:00
Unverified
parent 9b2588cff5
commit 68193bbf39
2 changed files with 509 additions and 8 deletions

View File

@@ -22,13 +22,25 @@ cd SuperCharged-Claude-Code-Upgrade
### Windows Installation Options
#### Option 1: WSL (Windows Subsystem for Linux) - **Recommended**
#### Option 1: PowerShell Installer ⭐ **Native - Recommended**
```powershell
# Download and run the native PowerShell installer
irm https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-windows.ps1 | pwsh -ExecutionPolicy Bypass -
# OR download and run manually
Invoke-WebRequest -Uri "https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-windows.ps1" -OutFile "install-windows.ps1"
pwsh -ExecutionPolicy Bypass -File install-windows.ps1
# OR right-click install-windows.ps1 and select "Run with PowerShell"
```
#### Option 2: WSL (Windows Subsystem for Linux)
```bash
# Clone and run in WSL
wsl bash -c "git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git && cd SuperCharged-Claude-Code-Upgrade && ./supercharge.sh"
```
#### Option 2: Git Bash
#### Option 3: Git Bash
```bash
# Clone the repository
git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
@@ -38,20 +50,19 @@ cd SuperCharged-Claude-Code-Upgrade
./supercharge.sh
```
#### Option 3: Manual Download
#### Option 4: Manual Download
```powershell
# 1. Download and extract the ZIP from:
# https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/archive/refs/heads/main.zip
# 2. Open WSL and navigate to extracted folder
wsl
# 2. Open PowerShell and navigate to extracted folder
cd path\to\SuperCharged-Claude-Code-Upgrade
# 3. Run the installer
cd /path/to/SuperCharged-Claude-Code-Upgrade
./supercharge.sh
pwsh -ExecutionPolicy Bypass -File install-windows.ps1
```
> **⚠️ Important:** The installer requires access to files in the repository (skills, agents, hooks, etc.). One-line curl installs won't work - you must clone the full repository first.
> **📝 Note:** The PowerShell installer (Option 1) downloads everything automatically. For bash/WSL options, you must clone the repository first since the script needs access to local files.
---