# SuperClaude Installation Guide ๐Ÿ“ฆ ## ๐ŸŽฏ It's Easier Than It Looks! **The honest truth**: This guide looks long because we want to cover all the details, but installation is actually pretty simple. Most people are done in 2 minutes with one command! **TL;DR for the impatient:** ```bash git clone && cd SuperClaude python3 SuperClaude.py install --quick # That's it! ๐ŸŽ‰ ``` **What just happened?** SuperClaude tried to set up everything you need. Usually no complex configuration, dependency hunting, or setup headaches! ๐ŸŽ‰ --- A comprehensive guide to installing SuperClaude v3. But remember - most people never need to read past the quick start above! ๐Ÿ˜Š ## Before You Start ๐Ÿ” ### What You Need ๐Ÿ’ป SuperClaude works on **Windows**, **macOS**, and **Linux**. Here's what you need: **Required:** - **Python 3.8 or newer** - The framework is written in Python - **Claude CLI** - SuperClaude enhances Claude Code, so you need it installed first **Optional (but recommended):** - **Node.js 16+** - Only needed if you want MCP server integration - **Git** - Helpful for development workflows ### Quick Check ๐Ÿ” Before installing, let's make sure you have the basics: ```bash # Check Python version (should be 3.8+) python3 --version # Check if Claude CLI is installed claude --version # Check Node.js (optional, for MCP servers) node --version ``` If any of these fail, see the [Prerequisites Setup](#prerequisites-setup-๐Ÿ› ๏ธ) section below. ## Quick Start ๐Ÿš€ **๐Ÿ† The "Just Get It Working" Approach (Recommended for 90% of Users)** ```bash # Clone the repo git clone cd SuperClaude # Install with recommended settings python3 SuperClaude.py install --quick # That's it! ๐ŸŽ‰ ``` **What you just got:** - โœ… All 16 smart commands that auto-activate experts - โœ… 11 specialist personas that know when to help - โœ… Intelligent routing that figures out complexity for you - โœ… About 2 minutes of your time and ~50MB disk space **Seriously, you're done.** Open Claude Code, type `/help`, and watch SuperClaude work its magic. **Nervous about what it will do?** See first with: ```bash python3 SuperClaude.py install --quick --dry-run ``` ## Installation Options ๐ŸŽฏ We have three installation profiles to choose from: ### ๐ŸŽฏ Minimal Installation ```bash python3 SuperClaude.py install --minimal ``` - **What**: Just the core framework files - **Time**: ~1 minute - **Space**: ~20MB - **Good for**: Testing, basic enhancement, minimal setups - **Includes**: Core behavior documentation that guides Claude ### ๐Ÿš€ Quick Installation (Recommended) ```bash python3 SuperClaude.py install --quick ``` - **What**: Core framework + 16 slash commands - **Time**: ~2 minutes - **Space**: ~50MB - **Good for**: Most users, general development - **Includes**: Everything in minimal + specialized commands like `/analyze`, `/build`, `/improve` ### ๐Ÿ”ง Developer Installation ```bash python3 SuperClaude.py install --profile developer ``` - **What**: Everything including MCP server integration - **Time**: ~5 minutes - **Space**: ~100MB - **Good for**: Power users, contributors, advanced workflows - **Includes**: Everything + Context7, Sequential, Magic, Playwright servers ### ๐ŸŽ›๏ธ Interactive Installation ```bash python3 SuperClaude.py install ``` - Lets you pick and choose components - Shows detailed descriptions of what each component does - Good if you want control over what gets installed ## Step-by-Step Installation ๐Ÿ“‹ ### Prerequisites Setup ๐Ÿ› ๏ธ **Missing Python?** ```bash # Linux (Ubuntu/Debian) sudo apt update && sudo apt install python3 python3-pip # macOS brew install python3 # Windows # Download from https://python.org/downloads/ ``` **Missing Claude CLI?** - Visit https://claude.ai/code for installation instructions - SuperClaude enhances Claude Code, so you need it first **Missing Node.js? (Optional)** ```bash # Linux (Ubuntu/Debian) sudo apt update && sudo apt install nodejs npm # macOS brew install node # Windows # Download from https://nodejs.org/ ``` ### Getting SuperClaude ๐Ÿ“ฅ **Option 1: Download the latest release** ```bash # Download and extract the latest release # (Replace URL with actual release URL) curl -L -o superclaude-v3.zip unzip superclaude-v3.zip cd superclaude-v3 ``` **Option 2: Clone from Git** ```bash git clone cd SuperClaude ``` ### Running the Installer ๐ŸŽฌ The installer is pretty smart and will guide you through the process: ```bash # See all available options python3 SuperClaude.py install --help # Quick installation (recommended) python3 SuperClaude.py install --quick # Want to see what would happen first? python3 SuperClaude.py install --quick --dry-run # Install everything python3 SuperClaude.py install --profile developer # Quiet installation (minimal output) python3 SuperClaude.py install --quick --quiet # Force installation (skip confirmations) python3 SuperClaude.py install --quick --force ``` ### During Installation ๐Ÿ“ฑ Here's what happens when you install: 1. **System Check** - Verifies you have required dependencies 2. **Directory Setup** - Creates `~/.claude/` directory structure 3. **Core Files** - Copies framework documentation files 4. **Commands** - Installs slash command definitions (if selected) 5. **MCP Servers** - Downloads and configures MCP servers (if selected) 6. **Configuration** - Sets up `settings.json` with your preferences 7. **Validation** - Tests that everything works The installer shows progress and will tell you if anything goes wrong. ## After Installation โœ… ### Quick Test ๐Ÿงช Let's make sure everything worked: ```bash # Check if files were installed ls ~/.claude/ # Should show: CLAUDE.md, COMMANDS.md, settings.json, etc. ``` **Test with Claude Code:** 1. Open Claude Code 2. Try typing `/help` - you should see SuperClaude commands 3. Try `/analyze --help` - should show command options ### What Got Installed ๐Ÿ“‚ SuperClaude installs to `~/.claude/` by default. Here's what you'll find: ``` ~/.claude/ โ”œโ”€โ”€ CLAUDE.md # Main framework entry point โ”œโ”€โ”€ COMMANDS.md # Available slash commands โ”œโ”€โ”€ FLAGS.md # Command flags and options โ”œโ”€โ”€ PERSONAS.md # Smart persona system โ”œโ”€โ”€ PRINCIPLES.md # Development principles โ”œโ”€โ”€ RULES.md # Operational rules โ”œโ”€โ”€ MCP.md # MCP server integration โ”œโ”€โ”€ MODES.md # Operational modes โ”œโ”€โ”€ ORCHESTRATOR.md # Intelligent routing โ”œโ”€โ”€ settings.json # Configuration file โ””โ”€โ”€ commands/ # Individual command definitions โ”œโ”€โ”€ analyze.md โ”œโ”€โ”€ build.md โ”œโ”€โ”€ improve.md โ””โ”€โ”€ ... (13 more) ``` **What each file does:** - **CLAUDE.md** - Tells Claude Code about SuperClaude and loads other files - **settings.json** - Configuration (MCP servers, hooks, etc.) - **commands/** - Detailed definitions for each slash command ### First Steps ๐ŸŽฏ Try these commands to get started: ```bash # In Claude Code, try these: /sc:help # See available commands /sc:analyze README.md # Analyze a file /sc:build --help # See build options /sc:improve --help # See improvement options ``` **Don't worry if it seems overwhelming** - SuperClaude enhances Claude Code gradually. You can use as much or as little as you want. ## Managing Your Installation ๐Ÿ› ๏ธ ### Updates ๐Ÿ“… Keep SuperClaude up to date: ```bash # Check for updates python3 SuperClaude.py update # Force update (overwrite local changes) python3 SuperClaude.py update --force # Update specific components only python3 SuperClaude.py update --components core,commands # See what would be updated python3 SuperClaude.py update --dry-run ``` **When to update:** - When new SuperClaude versions are released - If you're having issues (updates often include fixes) - When new MCP servers become available ### Backups ๐Ÿ’พ Create backups before major changes: ```bash # Create a backup python3 SuperClaude.py backup --create # List existing backups python3 SuperClaude.py backup --list # Restore from backup python3 SuperClaude.py backup --restore # Create backup with custom name python3 SuperClaude.py backup --create --name "before-update" ``` **When to backup:** - Before updating SuperClaude - Before experimenting with settings - Before uninstalling - Periodically if you've customized heavily ### Uninstallation ๐Ÿ—‘๏ธ If you need to remove SuperClaude: ```bash # Remove SuperClaude (keeps backups) python3 SuperClaude.py uninstall # Complete removal (removes everything) python3 SuperClaude.py uninstall --complete # See what would be removed python3 SuperClaude.py uninstall --dry-run ``` **What gets removed:** - All files in `~/.claude/` - MCP server configurations - SuperClaude settings from Claude Code **What stays:** - Your backups (unless you use `--complete`) - Claude Code itself (SuperClaude doesn't touch it) - Your projects and other files ## Troubleshooting ๐Ÿ”ง ### Common Issues ๐Ÿšจ **"Python not found"** ```bash # Try python instead of python3 python --version # Or check if it's installed but not in PATH which python3 ``` **"Claude CLI not found"** - Make sure Claude Code is installed first - Try `claude --version` to verify - Visit https://claude.ai/code for installation help **"Permission denied"** ```bash # Try with explicit Python path /usr/bin/python3 SuperClaude.py install --quick # Or check if you need different permissions ls -la ~/.claude/ ``` **"MCP servers won't install"** - Check that Node.js is installed: `node --version` - Check that npm is available: `npm --version` - Try installing without MCP first: `--minimal` or `--quick` **"Installation fails partway through"** ```bash # Try with verbose output to see what's happening python3 SuperClaude.py install --quick --verbose # Or try a dry run first python3 SuperClaude.py install --quick --dry-run ``` ### Platform-Specific Issues ๐Ÿ–ฅ๏ธ **Windows:** - Use `python` instead of `python3` if you get "command not found" - Run Command Prompt as Administrator if you get permission errors - Make sure Python is in your PATH **macOS:** - You might need to approve SuperClaude in Security & Privacy settings - Use `brew install python3` if you don't have Python 3.8+ - Try using `python3` explicitly instead of `python` **Linux:** - Make sure you have `python3-pip` installed - You might need `sudo` for some package installations - Check that `~/.local/bin` is in your PATH ### Still Having Issues? ๐Ÿค” **Check our troubleshooting resources:** - GitHub Issues: https://github.com/your-repo/SuperClaude/issues - Look for existing issues similar to yours - Create a new issue if you can't find a solution **When reporting bugs, please include:** - Your operating system and version - Python version (`python3 --version`) - Claude CLI version (`claude --version`) - The exact command you ran - The complete error message - What you expected to happen **Getting Help:** - GitHub Discussions for general questions - Check the README.md for latest updates - Look at the ROADMAP.md to see if your issue is known ## Advanced Options โš™๏ธ ### Custom Installation Directory ```bash # Install to custom location python3 SuperClaude.py install --quick --install-dir /custom/path # Use environment variable export SUPERCLAUDE_DIR=/custom/path python3 SuperClaude.py install --quick ``` ### Component Selection ```bash # See available components python3 SuperClaude.py install --list-components # Install specific components only python3 SuperClaude.py install --components core,commands # Skip certain components python3 SuperClaude.py install --quick --skip mcp ``` ### Development Setup If you're planning to contribute or modify SuperClaude: ```bash # Developer installation with all components python3 SuperClaude.py install --profile developer # Install in development mode (symlinks instead of copies) python3 SuperClaude.py install --profile developer --dev-mode # Install with git hooks for development python3 SuperClaude.py install --profile developer --dev-hooks ``` ## What's Next? ๐Ÿš€ **Now that SuperClaude is installed (that was easy, right?):** 1. **Just start using it** - Try `/analyze some-file.js` or `/build` and see what happens โœจ 2. **Don't stress about learning** - SuperClaude usually figures out what you need 3. **Experiment freely** - Commands like `/improve` and `/troubleshoot` are pretty forgiving 4. **Read guides if curious** - Check `Docs/` when you want to understand what just happened 5. **Give feedback** - Let us know what works and what doesn't **The real secret**: SuperClaude is designed to enhance your existing workflow without you having to learn a bunch of new stuff. Just use it like you'd use regular Claude Code, but notice how much smarter it gets! ๐ŸŽฏ **Still feeling uncertain?** Start with just `/help` and `/analyze README.md` - you'll see how non-intimidating it actually is. --- ## Final Notes ๐Ÿ“ - **Installation takes 1-5 minutes** depending on what you choose - **Disk space needed: 20-100MB** (not much!) - **Works alongside existing tools** - doesn't interfere with your setup - **Easy to uninstall** if you change your mind - **Community supported** - we actually read and respond to issues Thanks for trying SuperClaude! We hope it makes your development workflow a bit smoother. ๐Ÿ™‚ --- *Last updated: July 2024 - Let us know if anything in this guide is wrong or confusing!*