Run OpenCode 2 from the stable Homebrew formula
Declare the opencode formula with link = false so it never replaces the npm-installed OpenCode 1.x CLI at /opt/homebrew/bin/opencode. Drop the npm beta install from home.activation.opencode2, point home/bin/oc2 at the keg binary, and correct the related notes.
This commit is contained in:
1 parent
ec34fc005c
commit
1fda5c09b7
5 files changed
+18
-26
No files matched your search
+6
-1
@@ -54,7 +54,12 @@
|
||||
# resolves on the normal PATH. No server, service, database, or
|
||||
# connection is configured.
|
||||
{ name = "libpq"; link = true; }
|
||||
"node" # required: opencode2 is an npm global, not a Homebrew formula
|
||||
"node" # required: backpass and acpx are npm globals, not formulae
|
||||
# OpenCode 2 stable. Installed unlinked so it never replaces the
|
||||
# npm-installed OpenCode 1.x CLI at /opt/homebrew/bin/opencode (the crew
|
||||
# harness); home/bin/oc2 runs this keg binary directly. `link = false`
|
||||
# makes brew bundle unlink after install, which is deterministic.
|
||||
{ name = "opencode"; link = false; }
|
||||
"pi-coding-agent"
|
||||
"tea" # Gitea CLI - PRs for firstmate crewmates on unraid.local:3003
|
||||
"tmux"
|
||||
|
||||
Reference in new issue
Block a user