Installation¶
This guide will help you install and set up Prompt Versioner in your environment.
Requirements¶
- Python: 3.11 or higher
- Operating System: Windows, macOS, or Linux
Installation Methods¶
📦 Poetry (Recommended)¶
Install from the GitHub repository:
# Install from GitHub repository
poetry add git+https://github.com/pepes97/prompt-versioner.git
# Or clone and install locally for development
git clone https://github.com/pepes97/prompt-versioner.git
cd prompt-versioner
poetry install
🚀 Development Installation¶
For development:
# Clone the repository
git clone https://github.com/pepes97/prompt-versioner.git
cd prompt-versioner
# Install with Poetry
poetry install
# Or install with pip in development mode
pip install -e .
Verification¶
Verify your installation:
# Test the Python import
from prompt_versioner import PromptVersioner, VersionBump
pv = PromptVersioner(project_name="test", enable_git=False)
print("✅ Prompt Versioner is working!")
Database Setup¶
Prompt Versioner uses SQLite by default - no additional setup required. The database file will be created automatically.
Custom Database Location¶
from prompt_versioner import PromptVersioner
# Custom database path
pv = PromptVersioner(
    project_name="my-project",
    db_path="/path/to/your/database.db"
)
Getting Help¶
If you encounter issues:
- Check the GitHub Issues
- Include your Python version, OS, and error messages
Next Steps¶
Now that you have Prompt Versioner installed:
- Quick Start Guide - Get up and running in minutes
- Configuration - Customize your setup
- Basic Usage - Learn with practical examples