# SuperClaude V4 Beta 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! ### Step 1: Install the Package **Option A: From PyPI (Recommended)** ```bash uv add SuperClaude ``` **Option B: From Source** ```bash git clone https://github.com/SuperClaude-Org/SuperClaude_Framework.git cd SuperClaude_Framework uv sync ``` ### πŸ”§ UV / UVX Setup Guide SuperClaude V4 Beta supports installation via [`uv`](https://github.com/astral-sh/uv) (a faster, modern Python package manager) or `uvx` for cross-platform usage. ### πŸŒ€ Install with `uv` Make sure `uv` is installed: ```bash curl -Ls https://astral.sh/uv/install.sh | sh ``` > Or follow instructions from: [https://github.com/astral-sh/uv](https://github.com/astral-sh/uv) Once `uv` is available, you can install SuperClaude like this: ```bash uv venv source .venv/bin/activate uv pip install SuperClaude ``` ### ⚑ Install with `uvx` (Cross-platform CLI) If you’re using `uvx`, just run: ```bash uvx pip install SuperClaude ``` ## πŸ”§ UV / UVX Setup Guide SuperClaude V4 Beta supports installation via [`uv`](https://github.com/astral-sh/uv) (a faster, modern Python package manager) or `uvx` for cross-platform usage. ### πŸŒ€ Install with `uv` Make sure `uv` is installed: ```bash curl -Ls https://astral.sh/uv/install.sh | sh ``` > Or follow instructions from: [https://github.com/astral-sh/uv](https://github.com/astral-sh/uv) Once `uv` is available, you can install SuperClaude like this: ```bash uv venv source .venv/bin/activate uv pip install SuperClaude ``` ### ⚑ Install with `uvx` (Cross-platform CLI) If you’re using `uvx`, just run: ```bash uvx pip install SuperClaude ``` ### βœ… Finish Installation After installing, continue with the usual installer step: ```bash python3 -m SuperClaude install ``` Or using bash-style CLI: ```bash SuperClaude install ``` ### 🧠 Note: * `uv` provides better caching and performance. * Compatible with Python 3.8+ and works smoothly with SuperClaude. --- ### ⚠️ Important Note **After installing the SuperClaude.** **You can use `SuperClaude commands` , `python3 -m SuperClaude commands` or also `python3 SuperClaude commands`** **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 V4 Beta. 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)** **Option A: From PyPI (Recommended)** ```bash pip install SuperClaude # Install with recommended settings SuperClaude install --quick # That's it! πŸŽ‰ ``` **Option B: From Source** ```bash # Clone the repo git clone cd SuperClaude pip install . # Install with recommended settings SuperClaude install --quick # That's it! πŸŽ‰ ``` **⚠️ Important Note** **After installing the SuperClaude.** **You can use `SuperClaude commands` , `python3 -m SuperClaude commands` or also `python3 SuperClaude commands`** **What you just got:** - βœ… All 16 smart commands that auto-activate experts - βœ… 13 specialized domain expert agents that know when to help - βœ… Advanced session management with brainstorming mode - βœ… Python hooks system for intelligent framework coordination - βœ… 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 SuperClaude install --dry-run ``` ## Installation Options 🎯 ### πŸŽ›οΈ Interactive Two-Stage Installation (Default) ```bash SuperClaude install ``` - **Stage 1**: Select MCP servers (Context7, Sequential, Magic, Playwright, etc.) - **Stage 2**: Choose framework components (Core, Commands, Agents, Modes) - **Time**: ~3-5 minutes depending on selections - **Space**: ~50-100MB depending on selections - **Good for**: All users - gives you full control over what gets installed - **Interactive**: Shows detailed descriptions and lets you pick exactly what you want ### 🎯 Component-Specific Installation ```bash SuperClaude install --components core commands modes ``` - **What**: Install only specific components you need - **Time**: Variable based on selection - **Space**: Variable based on selection - **Good for**: Users who know exactly what they want - **Available components**: core, commands, agents, modes, mcp, mcp_docs ## 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/ #or open command prompt or powershell winget install python ``` **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/ #or open command prompt or powershell winget install nodejs ``` ### Getting SuperClaude πŸ“₯ **Option 1: From PyPI (Recommended)** ```bash pip install SuperClaude ``` **Option 2: 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 pip install . ``` **Option 3: Clone from Git** ```bash git clone https://github.com/SuperClaude-Org/SuperClaude_Framework.git cd SuperClaude_Framework pip install . ``` ### Running the Installer 🎬 The installer is pretty smart and will guide you through the process: ```bash # See all available options SuperClaude install --help # Interactive installation (recommended) SuperClaude install # Want to see what would happen first? SuperClaude install --dry-run # Install everything SuperClaude install --components core commands agents modes mcp mcp_docs # Quiet installation (minimal output) SuperClaude install --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 framework settings and CLAUDE.md imports 7. **Settings** - Sets up `settings.json` with your preferences 8. **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 V4 Beta installs to `~/.claude/` by default. Here's what you'll find: ``` ~/.claude/ β”œβ”€β”€ CLAUDE.md # Main framework entry point β”œβ”€β”€ FLAGS.md # Command flags and options β”œβ”€β”€ PRINCIPLES.md # Development principles β”œβ”€β”€ RULES.md # Operational rules β”œβ”€β”€ ORCHESTRATOR.md # Intelligent routing β”œβ”€β”€ MCP_*.md # MCP server configurations β”œβ”€β”€ MODE_*.md # Operational modes β”œβ”€β”€ SESSION_LIFECYCLE.md # Session management β”œβ”€β”€ settings.json # Configuration file └── commands/ # Individual command definitions β”œβ”€β”€ analyze.md β”œβ”€β”€ build.md β”œβ”€β”€ improve.md └── ... (13 more) ``` **For Developer Installation (+Hooks System)**: ``` ~/.claude/ β”œβ”€β”€ [above files] # Core framework files └── backups/ # Installation backups β”œβ”€β”€ framework_coordinator/ β”œβ”€β”€ session_lifecycle/ β”œβ”€β”€ performance_monitor/ β”œβ”€β”€ quality_gates/ └── install_hooks.py # Hook installation script ``` **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 - **hooks/** - Python hooks for advanced framework coordination (developer only) ### 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 /sc:brainstorm "my app idea" # Try V4 Beta brainstorming mode ``` **Don't worry if it seems overwhelming** - SuperClaude enhances Claude Code gradually. You can use as much or as little as you want. ### Installing Hooks System (V4 Beta) πŸ”— If you want to add the Python hooks system to an existing installation: ```bash # Install hooks to existing SuperClaude installation cd SuperClaude_Framework python3 SuperClaude/Hooks/scripts/install_hooks.py # Or upgrade existing installation with hooks SuperClaude install --upgrade --hooks ``` **What the hooks system provides:** - **Framework Coordinator**: Intelligent MCP server suggestions - **Session Lifecycle**: Automatic checkpoint triggers - **Performance Monitor**: Real-time performance tracking (<100ms targets) - **Quality Gates**: 8-step validation system **Verification:** ```bash # Test hooks installation python3 SuperClaude/Hooks/scripts/test_hooks.py # Check hook status SuperClaude hooks --status ``` ## Managing Your Installation πŸ› οΈ ### Updates πŸ“… Keep SuperClaude up to date: ```bash # Check for updates SuperClaude update # Force update (overwrite local changes) SuperClaude update --force # Update specific components only SuperClaude update --components core,commands # See what would be updated SuperClaude 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 SuperClaude backup --create # List existing backups SuperClaude backup --list # Restore from backup SuperClaude backup --restore # Create backup with custom name SuperClaude 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) SuperClaude uninstall # Complete removal (removes everything) SuperClaude uninstall --complete # See what would be removed SuperClaude 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 SuperClaude install --quick --verbose # Or try a dry run first SuperClaude 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/SuperClaude-Org/SuperClaude_Framework/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 SuperClaude install --quick --install-dir /custom/path # Use environment variable export SUPERCLAUDE_DIR=/custom/path SuperClaude install --quick ``` ### Component Selection ```bash # See available components SuperClaude install --list-components # Install specific components only SuperClaude install --components core,commands # Skip certain components SuperClaude install --quick --skip mcp ``` ### Development Setup If you're planning to contribute or modify SuperClaude: ```bash # Developer installation with all components SuperClaude install --components core commands agents modes mcp mcp_docs # Install in development mode SuperClaude install --dev-mode ``` ## 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 - ### ⚠️ Important Note **After installing the SuperClaude.** **You can use `SuperClaude commands` , `python3 -m SuperClaude commands` or also `python3 SuperClaude commands`** Thanks for trying SuperClaude! We hope it makes your development workflow a bit smoother. πŸ™‚ --- *Last updated: January 2025 (V4 Beta) - Let us know if anything in this guide is wrong or confusing!*