
Grepai Installation
- 548 installs
- 18 repo stars
- Updated February 1, 2026
- yoanbernabeu/grepai-skills
grepai-installation is an agent skill that installs or upgrades the GrepAI CLI on macOS, Linux, or Windows and verifies setup with grepai version for developers setting up semantic code search tooling.
About
grepai-installation is a multi-platform setup skill from yoanbernabeu/grepai-skills covering every method to install GrepAI on macOS, Linux, and Windows. The skill walks through Homebrew on macOS, package managers on Linux, PowerShell on Windows, and building from source with Go 1.24+. Developers use grepai-installation when installing GrepAI for the first time, upgrading an existing install, or confirming a successful setup via grepai version. Prerequisites include terminal access on Unix systems and PowerShell on Windows. The skill fits agent sessions where semantic grep capabilities are needed but the CLI is not yet present. Source builds require a Go toolchain; Homebrew is the recommended macOS path.
- Homebrew tap install on macOS with upgrade and uninstall paths
- curl pipe-to-sh installer for Linux/macOS into `/usr/local/bin/`
- PowerShell `irm` installer for Windows
- Optional from-source build requiring Go 1.24+
- Post-install verification via `grepai version`
Grepai Installation by the numbers
- 548 all-time installs (skills.sh)
- +8 installs in the week ending Jul 28, 2026 (Skillselion tracking)
- Ranked #115 of 550 CLI & Terminal skills by installs in the Skillselion catalog
- Security screen: CRITICAL risk (skills.sh audit)
- Data as of Jul 28, 2026 (Skillselion catalog sync)
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-installationAdd your badge
Show developers this skill is listed on Skillselion. Paste this into your README.
| Installs | 548 |
|---|---|
| repo stars | ★ 18 |
| Security audit | 1 / 3 scanners passed |
| Last updated | February 1, 2026 |
| Repository | yoanbernabeu/grepai-skills ↗ |
How do you install GrepAI CLI on macOS or Linux?
Install or upgrade the GrepAI CLI on macOS, Linux, or Windows and confirm it with `grepai version`.
Who is it for?
Developers or agents setting up GrepAI for the first time or upgrading across macOS, Linux, or Windows environments.
Skip if: Developers who already have a verified GrepAI install and need query syntax help rather than installation steps.
When should I use this skill?
User asks to install, upgrade, build from source, or verify GrepAI CLI on any supported platform.
What you get
Working GrepAI CLI binary confirmed by grepai version output on the target platform.
- installed GrepAI CLI
- grepai version verification
Files
GrepAI Installation
This skill covers all methods to install GrepAI on any platform.
When to Use This Skill
- Installing GrepAI for the first time
- Upgrading an existing GrepAI installation
- Building GrepAI from source
- Verifying a successful installation
Prerequisites
- macOS/Linux: Terminal access
- Windows: PowerShell
- From source: Go 1.24+ installed
Installation Methods
Method 1: Homebrew (macOS - Recommended)
The easiest way to install on macOS:
# Add the tap and install
brew install yoanbernabeu/tap/grepai
# Verify installation
grepai versionAdvantages:
- Automatic updates with
brew upgrade grepai - Clean uninstall with
brew uninstall grepai - Manages dependencies automatically
Method 2: Shell Script (Linux/macOS)
Universal installation script:
# Download and run the installer
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh
# Verify installation
grepai versionWhat the script does: 1. Detects your OS and architecture 2. Downloads the appropriate binary 3. Installs to /usr/local/bin/ 4. Sets executable permissions
Method 3: PowerShell (Windows)
Native Windows installation:
# Run in PowerShell (Admin recommended)
irm https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.ps1 | iex
# Verify installation
grepai versionNote: You may need to adjust execution policy:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserMethod 4: Build from Source
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 versionRequirements:
- Go 1.24 or later
- Make (optional, can use
go builddirectly)
Verifying Installation
After installation, verify everything works:
# Check version
grepai version
# Output: grepai version 0.24.0
# Check available commands
grepai --helpUpdating GrepAI
Check for Updates
grepai update --checkPerform Update
# Auto-update (downloads and installs latest)
grepai update
# Or via Homebrew
brew upgrade grepaiUninstalling
Homebrew
brew uninstall grepaiManual
# Remove binary
sudo rm /usr/local/bin/grepai
# Optionally remove config directories
rm -rf ~/.grepaiNext Steps
After installation: 1. Install Ollama for local embeddings (see grepai-ollama-setup skill) 2. Initialize a project with grepai init 3. Start indexing with grepai watch
Common Installation Issues
❌ 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 grepaiOutput Format
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 watchRelated skills
How it compares
Use grepai-installation for CLI setup; use other GrepAI skills in the same repo for search queries and codebase exploration after install.
FAQ
What is the recommended GrepAI install method on macOS?
grepai-installation recommends Homebrew on macOS: add the tap and install via brew, then confirm with grepai version before using GrepAI in agent workflows.
What Go version is required to build GrepAI from source?
grepai-installation requires Go 1.24 or newer when building GrepAI from source on macOS, Linux, or Windows with terminal or PowerShell access.
Is Grepai Installation safe to install?
skills.sh reports 1 of 3 security scanners passed. Review the Security Audits panel on this page before installing in production.