๐ Installation Guide
September 24, 2025 ยท View on GitHub
Quick Install (Recommended)
From Source (Current)
# Clone the repository
git clone https://github.com/holasoymalva/claude-code-rewind.git
cd claude-code-rewind
# Install directly with pip (no virtual environment needed!)
pip install -e .
# Verify installation
claude-rewind --help
From PyPI (Coming Soon)
# When published to PyPI, it will be this simple:
pip install claude-rewind
# Verify installation
claude-rewind --help
๐ฏ That's It!
Once installed, claude-rewind is available globally. No virtual environments, no PYTHONPATH, no complex setup required.
โ Verify Installation
# Check that the command is available
which claude-rewind
# Test basic functionality
cd your-project
claude-rewind init
claude-rewind status
๐ง System Requirements
- Python: 3.11 or higher
- Operating System: Windows, macOS, Linux
- Dependencies: Automatically installed with pip
Dependencies Installed Automatically:
click- Command-line interfacerich- Rich terminal outputpyyaml- Configuration managementwatchdog- File system monitoringgitpython- Git integrationpygments- Syntax highlightingzstandard- Compression
๐๏ธ Development Installation
If you want to contribute or modify the code:
# Clone and install in development mode
git clone https://github.com/holasoymalva/claude-code-rewind.git
cd claude-code-rewind
# Install with development dependencies
pip install -e ".[dev]"
# Run tests
pytest
# Run linting
black claude_rewind
isort claude_rewind
mypy claude_rewind
๐ Multiple Python Versions
If you have multiple Python versions:
# Use specific Python version
python3.11 -m pip install -e .
# or
python3.12 -m pip install -e .
# The claude-rewind command will use the Python version it was installed with
๐๏ธ Uninstallation
pip uninstall claude-rewind
๐ ๏ธ Troubleshooting
Command Not Found
If claude-rewind command is not found after installation:
-
Check pip installation location:
pip show claude-rewind -
Check if pip's bin directory is in PATH:
python -m site --user-base # Add the bin subdirectory to your PATH -
Use direct execution:
python -m claude_rewind.cli.main --help
Permission Issues
If you get permission errors:
# Install for current user only
pip install --user -e .
# Or use virtual environment
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -e .
Python Version Issues
# Check Python version
python --version
# Update Python if needed (must be 3.11+)
# On Ubuntu/Debian:
sudo apt update && sudo apt install python3.11
# On macOS with Homebrew:
brew install python@3.11
# On Windows: Download from python.org
๐ฆ Package Structure
After installation, you get:
- Global command:
claude-rewindavailable anywhere - Python package:
claude_rewindimportable in Python - Configuration: Auto-created in
~/.claude-rewind/(global) or.claude-rewind/(per-project)
๐ Next Steps
Once installed:
-
Initialize your project:
cd your-project claude-rewind init -
Start monitoring:
claude-rewind monitor -
Explore features:
claude-rewind timeline claude-rewind session --action stats claude-rewind --help
๐ฏ No more virtual environments or complex setups - just install and use!