npx skills add ...
npx skills add yoanbernabeu/grepai-skills --skill grepai-installation
Multi-platform installation guide for GrepAI. Use this skill when installing GrepAI on macOS, Linux, or Windows.
npx skills add yoanbernabeu/grepai-skills --skill grepai-installation
This skill covers all methods to install GrepAI on any platform.
The easiest way to install on macOS:
Advantages:
brew upgrade grepaibrew uninstall grepaiUniversal installation script:
What the script does:
/usr/local/bin/Native Windows installation:
Note: You may need to adjust execution policy:
For developers or custom builds:
Requirements:
go build directly)After installation, verify everything works:
After installation:
grepai-ollama-setup skill)grepai initgrepai watch❌ Problem: command not found: grepai
✅ Solution: Ensure /usr/local/bin is in your PATH:
❌ 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:
After successful installation:
# Run in PowerShell (Admin recommended)
irm https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.ps1 | iex
# Verify installation
grepai versionSet-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser# 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# Check version
grepai version
# Output: grepai version 0.24.0
# Check available commands
grepai --helpgrepai update --check# Auto-update (downloads and installs latest)
grepai update
# Or via Homebrew
brew upgrade grepaibrew uninstall grepai# Remove binary
sudo rm /usr/local/bin/grepai
# Optionally remove config directories
rm -rf ~/.grepaiexport PATH="$PATH:/usr/local/bin"brew tap yoanbernabeu/tap
brew install grepai✅ 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