grepai-installation by yoanbernabeu/grepai-skills
npx skills add https://github.com/yoanbernabeu/grepai-skills --skill grepai-installation本技能涵盖在所有平台上安装 GrepAI 的各种方法。
在 macOS 上最简单的安装方式:
# 添加 tap 并安装
brew install yoanbernabeu/tap/grepai
# 验证安装
grepai version
优势:
brew upgrade grepai 自动更新brew uninstall grepai 干净卸载通用安装脚本:
# 下载并运行安装程序
curl -sSL https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.sh | sh
# 验证安装
grepai version
广告位招租
在这里展示您的产品或服务
触达数万 AI 开发者,精准高效
脚本功能:
/usr/local/bin/原生的 Windows 安装方式:
# 在 PowerShell 中运行(建议使用管理员权限)
irm https://raw.githubusercontent.com/yoanbernabeu/grepai/main/install.ps1 | iex
# 验证安装
grepai version
注意: 您可能需要调整执行策略:
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
适用于开发者或自定义构建:
# 克隆仓库
git clone https://github.com/yoanbernabeu/grepai.git
cd grepai
# 构建二进制文件
make build
# 全局安装
sudo mv ./bin/grepai /usr/local/bin/
# 验证安装
grepai version
要求:
go build)安装完成后,验证一切是否正常:
# 检查版本
grepai version
# 输出:grepai version 0.24.0
# 检查可用命令
grepai --help
grepai update --check
# 自动更新(下载并安装最新版本)
grepai update
# 或通过 Homebrew
brew upgrade grepai
brew uninstall grepai
# 删除二进制文件
sudo rm /usr/local/bin/grepai
# 可选:删除配置目录
rm -rf ~/.grepai
安装完成后:
grepai-ollama-setup 技能)grepai initgrepai watch❌ 问题: command not found: grepai
✅ 解决方案: 确保 /usr/local/bin 在您的 PATH 环境变量中:
export PATH="$PATH:/usr/local/bin"
❌ 问题: 安装时权限被拒绝
✅ 解决方案: 对安装命令使用 sudo 或安装到用户目录
❌ 问题: Homebrew tap 未找到 ✅ 解决方案: 先添加 tap:
brew tap yoanbernabeu/tap
brew install grepai
安装成功后:
✅ GrepAI 安装成功
版本:0.24.0
位置:/usr/local/bin/grepai
后续步骤:
1. 安装 Ollama:brew install ollama
2. 初始化项目:grepai init
3. 开始索引:grepai watch
每周安装次数
240
仓库
GitHub 星标数
15
首次出现
2026年1月28日
安全审计
安装于
opencode191
codex187
gemini-cli170
github-copilot170
kimi-cli159
amp157
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
Weekly Installs
240
Repository
GitHub Stars
15
First Seen
Jan 28, 2026
Security Audits
Gen Agent Trust HubFailSocketPassSnykFail
Installed on
opencode191
codex187
gemini-cli170
github-copilot170
kimi-cli159
amp157
React 组合模式指南:Vercel 组件架构最佳实践,提升代码可维护性
106,200 周安装
营销活动执行指南:规划、跨渠道执行与效果分析全流程
234 周安装
Google Gemini CLI PR 评论处理助手 - 自动化审查 GitHub Pull Request 反馈
234 周安装
Reddit营销技能:AI生成符合社区规范的Reddit帖子与评论文案工具
234 周安装
sdd:create-ideas - 上下文工程套件中的创意生成AI工具,提供高概率与多样性回复
234 周安装
Vitest 测试框架最佳实践指南:断言、模拟与异步测试完整教程
234 周安装
shinkoku 确定申告能力一览:支持个人事业主、副业、医疗费控除等申报模式
234 周安装