grepai-ollama-setuplisted
Install: claude install-skill NNIIKKKKII/grepai-skills
# Ollama Setup for GrepAI
This skill covers installing and configuring Ollama as the local embedding provider for GrepAI. Ollama enables 100% private code search where your code never leaves your machine.
## When to Use This Skill
- Setting up GrepAI with local, private embeddings
- Installing Ollama for the first time
- Choosing and downloading embedding models
- Troubleshooting Ollama connection issues
## Why Ollama?
| Benefit | Description |
|---------|-------------|
| 🔒 **Privacy** | Code never leaves your machine |
| 💰 **Free** | No API costs |
| ⚡ **Fast** | Local processing, no network latency |
| 🔌 **Offline** | Works without internet |
## Installation
### macOS (Homebrew)
```bash
# Install Ollama
brew install ollama
# Start the Ollama service
ollama serve
```
### macOS (Direct Download)
1. Download from [ollama.com](https://ollama.com)
2. Open the `.dmg` and drag to Applications
3. Launch Ollama from Applications
### Linux
```bash
# One-line installer
curl -fsSL https://ollama.com/install.sh | sh
# Start the service
ollama serve
```
### Windows
1. Download installer from [ollama.com](https://ollama.com/download/windows)
2. Run the installer
3. Ollama starts automatically as a service
## Downloading Embedding Models
GrepAI requires an embedding model to convert code into vectors.
### Recommended Model: nomic-embed-text
```bash
# Download the recommended model (768 dimensions)
ollama pull nomic-embed-text
```
**Specifications:**
- Dimensions: 76