Installation
Get Flanner up and running on your system in minutes.
Prerequisites
- Python 3.8 or higher
- pip (Python package manager)
- Git (for repository integration)
- Claude Code (optional, for MCP integration)
Quick Installation
Option 1: Install with pip (Recommended)
This allows you to run flanner from anywhere:
cd flanner pip install -e .After installation, verify it works:
flanner --helpOption 2: Run without installation
You can run Flanner directly without installation:
# Windows cd path\to\flanner python -m src.cli --help # Linux/Mac cd path/to/flanner python -m src.cli --helpPlatform-Specific Setup
Windows
cd flanner python -m venv venv venv\Scripts\activate pip install -r requirements.txt pip install -e .Linux/Mac
cd flanner python -m venv venv source venv/bin/activate pip install -r requirements.txt pip install -e .Post-Installation
1. Initialize Flanner
Navigate to your project directory and initialize Flanner:
cd your-project flanner initThis will:
- Create
~/.flanner/directory for database - Detect your git repository root
- Create
.plans/directory in your project - Update
.gitignoreto exclude plan files - Initialize SQLite database at
~/.flanner/data.db - Automatically register MCP server with Claude Code
- Prompt you to create a project
2. Verify Installation
flanner statusYou should see:
============================================================ MCP PLAN MANAGER STATUS ============================================================ Server Status: Stopped Database: C:\Users\YourName\.flanner\data.db Projects: 1 Total Plan Files: 0 ------------------------------------------------------------ CLAUDE CODE INTEGRATION ------------------------------------------------------------ Config Path: C:\Users\...\Claude\claude_desktop_config.json MCP Server: Registered & ValidClaude Code Integration
The MCP server is automatically registered with Claude Code during flanner init!
Check Integration Status
flanner claude-infoManual Registration (if needed)
# Register MCP server flanner register # Force update configuration flanner register --force # Unregister flanner unregisterRestart Claude Code
After registration, restart Claude Code to load the MCP server.
Database Location
The database is stored at:
- Windows:
C:\Users\YourName\.flanner\data.db - Linux/Mac:
~/.flanner/data.db
Plan Files Location
Plan files are stored in your project repository:
your-project/ ├── .git/ ├── .gitignore # Auto-updated to exclude .plans/ ├── .plans/ # Your plan files (git-ignored) │ ├── architecture_v1.md │ ├── architecture_v2.md │ └── api-design_v1.md ├── src/ └── ...Troubleshooting
Command not found
# Use Python module instead python -m src.cli --help # Or install properly pip install -e .Database not initialized
flanner initMCP server not registered
flanner register # Then restart Claude CodeUpgrading
If you installed with pip:
cd flanner git pull # if using git pip install -e . --upgradeUninstallation
Remove Package
pip uninstall flannerRemove Data
# Windows rmdir /s %USERPROFILE%\.flanner # Linux/Mac rm -rf ~/.flannerNext: Check out the Quick Start Guide to create your first plan file.