Fix installation instructions - one-line curl install doesn't work

- Remove broken one-line curl install commands
- Add proper git clone + run installer instructions
- Add clear explanation that repo must be cloned first
- Fix Windows WSL and Git Bash instructions
- Add warning about curl in PowerShell

The installer script needs access to files in the repository
(skills/, agents/, hooks/, etc.) so one-line piping won't work.

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
uroma
2026-01-22 19:03:36 +00:00
Unverified
parent 447b1840eb
commit 9b2588cff5

View File

@@ -8,44 +8,50 @@
[![License](https://img.shields.io/badge/License-MIT-purple)](LICENSE) [![License](https://img.shields.io/badge/License-MIT-purple)](LICENSE)
[![Gitea](https://img.shields.io/badge/Platform-Gitea-red)](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade) [![Gitea](https://img.shields.io/badge/Platform-Gitea-red)](https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade)
## ⚡ Quick One-Liners ## ⚡ Quick Installation
### Linux / macOS (Bash) ### Linux / macOS (Bash)
```bash ```bash
# 🎯 SuperCharge Claude Code (all customizations) # Clone the repository
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
cd SuperCharged-Claude-Code-Upgrade
# 🔧 Install Claude Code + Z.AI API # 🎯 Run the installer
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash ./supercharge.sh
# 📖 Show manual instructions (no installation)
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/install-claude-code.sh | bash -s -- --manual
``` ```
### Windows Installation Options ### Windows Installation Options
#### Option 1: WSL (Windows Subsystem for Linux) - **Recommended** #### Option 1: WSL (Windows Subsystem for Linux) - **Recommended**
```powershell ```powershell
# Open PowerShell or Command Prompt, then run: # Clone and run in WSL
wsl bash -c "curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash" 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 2: Git Bash
```bash ```bash
# Open Git Bash and run: # Clone the repository
curl -fsSL https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh | bash git clone https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade.git
cd SuperCharged-Claude-Code-Upgrade
# Run the installer
./supercharge.sh
``` ```
#### Option 3: Download & Run #### Option 3: Manual Download
```powershell ```powershell
# Download the script # 1. Download and extract the ZIP from:
Invoke-WebRequest -Uri "https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/raw/main/supercharge.sh" -OutFile "supercharge.sh" # https://github.rommark.dev/admin/SuperCharged-Claude-Code-Upgrade/archive/refs/heads/main.zip
# Run in WSL # 2. Open WSL and navigate to extracted folder
wsl bash supercharge.sh wsl
# 3. Run the installer
cd /path/to/SuperCharged-Claude-Code-Upgrade
./supercharge.sh
``` ```
> **⚠️ Important:** Do NOT run curl commands directly in PowerShell. The syntax is different. Use WSL or Git Bash for bash commands. > **⚠️ 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.
--- ---