Guides installing GrepAI on macOS (Homebrew), Linux (shell script), Windows (PowerShell), or from source. Useful for first-time setup, upgrades, and verification.
Ships in grepai-getting-started. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
This skill covers all methods to install GrepAI on any platform.
The easiest way to install on macOS:
# Add the tap and install
brew install yoanbernabeu/tap/grepai
# Verify installation
grepai version
Advantages:
brew upgrade grepaibrew uninstall grepaiUniversal installation script:
# Download and run the installer
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh
# Verify installation
grepai version
What the script does:
/usr/local/bin/Native Windows installation:
# Run in PowerShell (Admin recommended)
irm https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.ps1 | iex
# Verify installation
grepai version
Note: You may need to adjust execution policy:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
For developers or custom builds:
# Clone the repository
git clone https://github.com/yoanbernabeu/grepai.git
cd grepai
# Build the binary
make build
# Install globally
sudo mv ./bin/grepai /usr/local/bin/
# Verify installation
grepai version
Requirements:
go build directly)After installation, verify everything works:
# Check version
grepai version
# Output: grepai version 0.24.0
# Check available commands
grepai --help
grepai update --check
# Auto-update (downloads and installs latest)
grepai update
# Or via Homebrew
brew upgrade grepai
brew uninstall grepai
# Remove binary
sudo rm /usr/local/bin/grepai
# Optionally remove config directories
rm -rf ~/.grepai
After installation:
grepai-ollama-setup skill)grepai initgrepai watch❌ Problem: command not found: grepai
✅ Solution: Ensure /usr/local/bin is in your PATH:
export PATH="$PATH:/usr/local/bin"
❌ Problem: Permission denied during installation
✅ Solution: Use sudo for the installation command or install to a user directory
❌ Problem: Homebrew tap not found ✅ Solution: Add the tap first:
brew tap yoanbernabeu/tap
brew install grepai
After successful installation:
✅ GrepAI installed successfully
Version: 0.24.0
Location: /usr/local/bin/grepai
Next steps:
1. Install Ollama: brew install ollama
2. Initialize project: grepai init
3. Start indexing: grepai watch
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
/grepai-getting-started:grepai-installationfrom grepai-getting-started
npx claudepluginhub yoanbernabeu/grepai-skills --plugin grepai-getting-started3 skills in this plugin
/grepai-ollama-setupInstall and configure Ollama for local embeddings with GrepAI. Use this skill when setting up private, local embedding generation./grepai-quickstartGet started with GrepAI in 5 minutes. Use this skill for a complete walkthrough from installation to first search.Other plugins' skills for the same job