Install Ollama
commit-msg-ai requires Ollama to run language models locally on your machine. Ollama handles downloading, running, and managing LLMs.
macOS
brew install ollama
Linux
curl -fsSL https://ollama.com/install.sh | sh
Windows
Download the installer from ollama.com/download.
Start the server
After installing, start Ollama:
ollama serve
On macOS, Ollama runs automatically in the background after installation. If you see the Ollama icon in your menu bar, you can skip this step.
Verify installation
ollama --version
You should see something like ollama version 0.6.x. If you do, you’re ready to pull a model.
Next: Choose a model