summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDax Raad <[email protected]>2025-06-23 20:36:08 -0400
committerDax Raad <[email protected]>2025-06-23 20:36:08 -0400
commit01d351bebeb0e7ad9b97e63bbebdc7478339018f (patch)
treec4c8fbbc011183dd307dae7b0f3343d5833b4dd1
parentdbba4a97aaccd650567314cd2cb2f41726536541 (diff)
downloadopencode-01d351bebeb0e7ad9b97e63bbebdc7478339018f.tar.gz
opencode-01d351bebeb0e7ad9b97e63bbebdc7478339018f.zip
add HOMEBREW_NO_AUTO_UPDATE to brew upgrades
-rw-r--r--packages/opencode/src/installation/index.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.ts
index 88c76123e..4af5c807f 100644
--- a/packages/opencode/src/installation/index.ts
+++ b/packages/opencode/src/installation/index.ts
@@ -115,7 +115,9 @@ export namespace Installation {
case "bun":
return $`bun install -g opencode-ai@${target}`
case "brew":
- return $`brew install sst/tap/opencode`
+ return $`brew install sst/tap/opencode`.env({
+ HOMEBREW_NO_AUTO_UPDATE: "1",
+ })
default:
throw new Error(`Unknown method: ${method}`)
}