A modern, robust installer for integrating Claude Code with Windows Explorer context menus. Right-click any folder and launch Claude Code instantly!
Right-click run.bat → "Run as administrator" → Done! ✨
This project has been completely overhauled with a modern Python-based installer that fixes all the previous issues:
- 🚀 One-click setup - Just run
run.batand everything is automatic - 🐍 Python auto-install - Checks for Python and installs it if needed
- 🎨 Beautiful GUI - User-friendly graphical interface
- 🛡️ Robust error handling - Clear error messages and detailed logging
- 📊 Real-time status - See what's installed and what's missing
- 🧹 Clean directory - Only essential files in main folder
- One-Click Integration: Right-click any folder → "Open in Claude Code"
- Smart Installation: Automatically installs Python, WSL, Ubuntu, Node.js, and Claude Code if needed
- Beautiful GUI: Modern interface with real-time progress and logging
- Auto Python Setup: Downloads and installs Python automatically if missing
- Clean Organization: All extra tools moved to
tools/folder
- Windows 10/11 (with WSL2 support)
- Administrator privileges for installation
- Python 3.6+ (auto-installed if missing)
- Right-click
run.bat→ "Run as administrator" - Follow the prompts (Python will be installed automatically if needed)
- Use the GUI to install everything with one click
- Done! 🎉
If you already have Python:
# Launch GUI
python claude_code_installer.py
# Or use command line
python claude_code_installer.py --helpClaude Code On Windows/
├── run.bat ← CLICK THIS (main launcher)
├── claude_code_installer.py ← Python installer with GUI
├── README.md ← This file
├── QUICK_START.md ← 5-minute setup guide
├── LICENSE ← MIT license
├── tools/ ← Extra utilities (optional)
│ ├── install-context-menu-only.bat
│ ├── uninstall.bat
│ ├── check-status.bat
│ ├── test-installation.bat
│ ├── CHANGELOG.md
│ └── requirements.txt
└── legacy/ ← Old deprecated files
Just focus on run.bat - everything else is optional!
After installation:
- Open Windows Explorer
- Navigate to any folder
- Right-click in the folder (empty space) or on a folder
- Select "Open in Claude Code"
- Claude Code launches in that directory! 🎉
# Show beautiful GUI (default)
python claude_code_installer.py
# Force console mode
python claude_code_installer.py --console
# Install only context menu (skip WSL/Ubuntu setup)
python claude_code_installer.py --context-only
# Uninstall context menu integration
python claude_code_installer.py --uninstall
# Check what's installed
python claude_code_installer.py --statusAdvanced users can use utilities in the tools/ folder:
- Context menu only:
tools/install-context-menu-only.bat - Uninstall:
tools/uninstall.bat - Check status:
tools/check-status.bat - Test setup:
tools/test-installation.bat
You can also use Claude Code directly in WSL:
# Open Ubuntu terminal
ubuntu
# Navigate to your project
cd /mnt/c/your/project/path
# Start Claude Code
claudeThe new GUI shows you exactly what's installed and what's missing, with real-time progress and clear error messages.
- "Python is not installed" →
run.batwill install it automatically - "Must be run as Administrator" → Right-click and "Run as administrator"
- Context menu doesn't appear → Use
tools/check-status.batto diagnose
If you need to manually remove the context menu:
- Delete these registry keys:
HKEY_CLASSES_ROOT\Directory\Background\shell\OpenInClaudeHKEY_CLASSES_ROOT\Directory\shell\OpenInClaude
- Delete
C:\Scripts\open_in_claude.py
The installer can set up everything you need:
| Component | Purpose | Auto-Installed |
|---|---|---|
| Python | Runs the installer | ✅ Yes (if missing) |
| WSL | Windows Subsystem for Linux | ✅ Yes |
| Ubuntu | Linux distribution for WSL | ✅ Yes |
| Node.js | JavaScript runtime for Claude Code | ✅ Yes |
| Claude Code | The actual Claude Code application | ✅ Yes |
| Context Menu | Windows Explorer integration | ✅ Yes |
- Minimal permissions: Only requires admin rights for registry modifications
- No persistent changes: Uses Python instead of risky PowerShell policies
- Clean uninstall: Removes all traces when uninstalling
- Audit trail: Comprehensive logging of all actions
| Old (Legacy) | New (v0.1) | Improvement |
|---|---|---|
| 6+ batch files | 1 main file (run.bat) |
Much simpler |
| Complex 3-step process | One-click install | Faster setup |
| No GUI | Beautiful GUI interface | Better UX |
| Manual Python setup | Auto Python install | Zero friction |
| PowerShell execution policies | No PowerShell needed | More secure |
| Manual troubleshooting | Built-in diagnostics | Easier support |
| Cluttered directory | Clean organization | Less confusing |
Feel free to submit issues and enhancement requests! The new Python-based architecture makes it much easier to add features and fix issues.
This project is licensed under the MIT License. See the LICENSE file for details.
If you encounter any issues:
- Use the GUI - it shows exactly what's wrong
- Check
tools/check-status.batfor diagnostics - Review logs: Check
claude_installer.log - Try reinstalling: Run
run.batagain - Report issues: Include log files and error messages
The new architecture provides much better error reporting and diagnostics than the old batch-based system!
TL;DR: Just run run.bat as administrator and everything works! 🎯