Installation
Prerequisites
- Ollama (for local embeddings) or an OpenAI API key (for cloud embeddings)
Quick Install (Recommended)
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | shOr download directly from Releases.
Install from Source
Requires Go 1.24+.
# Clone the repositorygit clone https://github.com/yoanbernabeu/grepai.gitcd grepai
# Build the binarymake build
# The binary is created at ./bin/grepai# Move it to your PATHsudo mv ./bin/grepai /usr/local/bin/Install Ollama (Recommended)
For privacy-first local embeddings, install Ollama:
# macOSbrew install ollama
# Linuxcurl -fsSL https://ollama.com/install.sh | sh
# Start Ollamaollama serve
# Pull the embedding modelollama pull nomic-embed-textVerify Installation
# Check grepai is installedgrepai version
# Check Ollama is running (if using local embeddings)curl http://localhost:11434/api/tagsUpdating
Keep grepai up to date with the built-in update command:
# Check for available updatesgrepai update --check
# Download and install the latest versiongrepai updateThe update command will:
- Fetch the latest release from GitHub
- Download the appropriate binary for your platform
- Verify checksum integrity
- Replace the current binary automatically
Next Steps
- Quick Start - Initialize and start using grepai
- Configuration - Configure embedders and storage backends