Loading...
Loading...
Compare original and translation side by side
undefinedundefined
**Advantages:**
- Automatic updates with `brew upgrade grepai`
- Clean uninstall with `brew uninstall grepai`
- Manages dependencies automatically
**优势:**
- 使用`brew upgrade grepai`自动更新
- 使用`brew uninstall grepai`干净卸载
- 自动管理依赖undefinedundefined
**What the script does:**
1. Detects your OS and architecture
2. Downloads the appropriate binary
3. Installs to `/usr/local/bin/`
4. Sets executable permissions
**脚本功能:**
1. 检测操作系统和架构
2. 下载对应的二进制文件
3. 安装到`/usr/local/bin/`目录
4. 设置可执行权限undefinedundefined
**Note:** You may need to adjust execution policy:
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
**注意:** 你可能需要调整执行策略:
```powershell
Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUserundefinedundefined
**Requirements:**
- Go 1.24 or later
- Make (optional, can use `go build` directly)
**要求:**
- Go 1.24或更高版本
- Make(可选,可直接使用`go build`)undefinedundefinedundefinedundefinedgrepai update --checkgrepai update --checkundefinedundefinedundefinedundefinedbrew uninstall grepaibrew uninstall grepaiundefinedundefinedundefinedundefinedgrepai-ollama-setupgrepai initgrepai watchgrepai-ollama-setupgrepai initgrepai watchcommand not found: grepai/usr/local/binexport PATH="$PATH:/usr/local/bin"sudobrew tap yoanbernabeu/tap
brew install grepaicommand not found: grepai/usr/local/binexport PATH="$PATH:/usr/local/bin"sudobrew 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✅ 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