Skip to content

The open source coding agent.

TypeScript

fix: brew autoupgrade

Aiden Clinef1f44644e280
diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.ts
index 86f2a781c83..9e6dd2b9e92 100644
--- a/packages/opencode/src/installation/index.ts
+++ b/packages/opencode/src/installation/index.ts
@@ -138,7 +138,7 @@ export namespace Installation {
break
case "brew": {
const formula = await getBrewFormula()
- cmd = $`brew install ${formula}`.env({
+ cmd = $`brew upgrade ${formula}`.env({
HOMEBREW_NO_AUTO_UPDATE: "1",
...process.env,
})