Install commit-msg-ai
With pip
pip install commit-msg-ai
Verify installation
commit-msg-ai --help
You should see:
usage: commit-msg-ai [-h] [--model MODEL] [--url URL] {config} ...
Generate a commit message from staged changes using a local LLM.
Requirements
- Python 3.9 or higher
- Ollama running locally (or on a reachable server)
- At least one model pulled
Next: Configuration