Installation¶
This guide will help you install Image Namer on your system.
Choose Your Installation¶
Image Namer offers two interfaces:
- CLI only (lightweight): ~50MB with dependencies
- CLI + GUI (full experience): ~150MB including Qt6 libraries
Recommended: pipx Installation¶
pipx is the recommended installation method for Image Namer. It installs Python CLI tools in isolated environments, preventing dependency conflicts with other Python projects on your system.
1. Install pipx¶
If you don't already have pipx:
After installation, restart your terminal to ensure the PATH is updated.
2. Install Image Namer¶
CLI Only (lightweight):
CLI + GUI (recommended):
The [gui] extra installs PySide6 (Qt6 for Python), which adds the graphical interface.
3. Verify Installation¶
CLI:
GUI (if installed with [gui]):
Alternative: pip Installation¶
Not Recommended
Installing with pip can cause dependency conflicts with other Python projects. Use pipx unless you have a specific reason not to.
CLI only:
CLI + GUI:
Development Installation¶
If you're contributing to Image Namer or want to modify the code:
1. Clone the Repository¶
2. Install with Development Dependencies¶
Using uv (recommended for development):
# Install uv if you don't have it
curl -LsSf https://astral.sh/uv/install.sh | sh
# Create virtual environment and install with GUI for testing
uv venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
uv pip install -e ".[dev,gui]"
Using pip:
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate
pip install -e ".[dev,gui]"
The [dev] extra includes testing tools (pytest, flake8, mypy) and documentation tools (mkdocs).
The [gui] extra includes PySide6 for the graphical interface.
System Requirements¶
- Python 3.13 or later
- AI Provider: You'll need either:
- Ollama (recommended): Local, privacy-friendly, free
- OpenAI API: Cloud-based, requires API key and costs money
Installing Ollama (Recommended)¶
Ollama runs AI models locally on your machine:
- Download from ollama.com
- Install the application
- Pull the default model:
Ollama runs as a background service and provides a local API endpoint.
Setting up OpenAI¶
If you prefer OpenAI:
- Get an API key from platform.openai.com
- Set the environment variable:
Add this to your ~/.zshrc, ~/.bashrc, or equivalent shell config for persistence.
Upgrading¶
pipx Installation¶
pip Installation¶
Development Installation¶
Uninstalling¶
pipx Installation¶
pip Installation¶
Next Steps¶
- Getting Started Guide - Set up your provider and run your first rename
- Using the GUI - Visual workflow guide (if installed with [gui])
- Configure Providers - Detailed provider configuration