Skip to content

Commit f74725f

Browse files
study8677claude
andcommitted
🍺 README: add Homebrew install as the recommended option
The Homebrew tap at study8677/homebrew-tap is now live with the v0.3.0 formula. brew install handles dependency resolution (Go is fetched automatically as a build dep), drops the binary in PATH, and prints a caveats block with skill-install commands. Demoted curl|bash to "alternative one-line installer" and noted the Go version requirement so users know what to expect. Also tightened the manual-install example: use ~/.local/bin first (no sudo) and skip the cp -r in favor of an explicit mkdir + cp of just the SKILL.md. Verified locally: brew install study8677/tap/avc completes in ~9s (plus Go bottle download on first install), brew test passes, avc --version returns 0.3.0. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent 93584c5 commit f74725f

2 files changed

Lines changed: 30 additions & 10 deletions

File tree

README.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,25 +47,35 @@ AVC pipe: agent | avc (visual processing)
4747

4848
### Install
4949

50-
**One-line install** (builds binary + installs skills for all detected agents):
50+
**🍺 Homebrew (macOS / Linuxbrew, recommended)**
51+
52+
```bash
53+
brew install study8677/tap/avc
54+
```
55+
56+
After install, `brew info avc` prints one-line copy commands to wire the skill into Claude Code / Codex / Gemini.
57+
58+
**🚀 One-line installer** (builds from source + auto-installs skills for every detected agent)
5159

5260
```bash
5361
curl -sSL https://raw.githubusercontent.com/study8677/Agent_View_Controller-AVC/main/install.sh | bash
5462
```
5563

64+
Installs to `~/.local/bin` (no sudo) when it's on your `PATH`, otherwise falls back to `/usr/local/bin`. Requires Go ≥ 1.24.
65+
5666
<details>
5767
<summary>Manual install</summary>
5868

5969
```bash
6070
git clone https://github.com/study8677/Agent_View_Controller-AVC.git
6171
cd Agent_View_Controller-AVC
6272
go build -o avc .
63-
sudo cp avc /usr/local/bin/
73+
install -m 755 avc ~/.local/bin/ # or sudo cp avc /usr/local/bin/
6474

6575
# Install skill for your agent
66-
cp -r skills/avc/ ~/.codex/skills/avc/ # Codex CLI
67-
cp -r skills/avc/ ~/.claude/skills/avc/ # Claude Code
68-
cp -r skills/avc/ ~/.gemini/skills/avc/ # Gemini CLI
76+
mkdir -p ~/.codex/skills/avc && cp skills/avc/SKILL.md ~/.codex/skills/avc/ # Codex CLI
77+
mkdir -p ~/.claude/skills/avc && cp skills/avc/SKILL.md ~/.claude/skills/avc/ # Claude Code
78+
mkdir -p ~/.gemini/skills/avc && cp skills/avc/SKILL.md ~/.gemini/skills/avc/ # Gemini CLI
6979
```
7080

7181
</details>

README_CN.md

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -54,25 +54,35 @@ AVC 管道: agent | avc (视觉处理)
5454

5555
### 安装
5656

57-
**一键安装**(编译二进制 + 为所有检测到的 Agent 安装 Skill):
57+
**🍺 Homebrew(macOS / Linuxbrew,推荐)**
58+
59+
```bash
60+
brew install study8677/tap/avc
61+
```
62+
63+
装完后 `brew info avc` 会打印把 skill 拷到 Claude Code / Codex / Gemini 的一行命令。
64+
65+
**🚀 一键安装脚本**(从源码编译 + 自动给每个检测到的 Agent 装 skill)
5866

5967
```bash
6068
curl -sSL https://raw.githubusercontent.com/study8677/Agent_View_Controller-AVC/main/install.sh | bash
6169
```
6270

71+
优先装到 `~/.local/bin`(无 sudo),找不到就回退到 `/usr/local/bin`。需要 Go ≥ 1.24。
72+
6373
<details>
6474
<summary>手动安装</summary>
6575

6676
```bash
6777
git clone https://github.com/study8677/Agent_View_Controller-AVC.git
6878
cd Agent_View_Controller-AVC
6979
go build -o avc .
70-
sudo cp avc /usr/local/bin/
80+
install -m 755 avc ~/.local/bin/ #sudo cp avc /usr/local/bin/
7181

7282
# 为你的 Agent 安装 Skill
73-
cp -r skills/avc/ ~/.codex/skills/avc/ # Codex CLI
74-
cp -r skills/avc/ ~/.claude/skills/avc/ # Claude Code
75-
cp -r skills/avc/ ~/.gemini/skills/avc/ # Gemini CLI
83+
mkdir -p ~/.codex/skills/avc && cp skills/avc/SKILL.md ~/.codex/skills/avc/ # Codex CLI
84+
mkdir -p ~/.claude/skills/avc && cp skills/avc/SKILL.md ~/.claude/skills/avc/ # Claude Code
85+
mkdir -p ~/.gemini/skills/avc && cp skills/avc/SKILL.md ~/.gemini/skills/avc/ # Gemini CLI
7686
```
7787

7888
</details>

0 commit comments

Comments
 (0)