summaryrefslogtreecommitdiffhomepage
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/opencode/src/installation/index.ts4
-rw-r--r--packages/web/src/content/docs/index.mdx3
2 files changed, 3 insertions, 4 deletions
diff --git a/packages/opencode/src/installation/index.ts b/packages/opencode/src/installation/index.ts
index dea312adb..d18c9e31a 100644
--- a/packages/opencode/src/installation/index.ts
+++ b/packages/opencode/src/installation/index.ts
@@ -158,7 +158,7 @@ export namespace Installation {
cmd = $`echo Y | choco upgrade opencode --version=${target}`
break
case "scoop":
- cmd = $`scoop install extras/opencode@${target}`
+ cmd = $`scoop install opencode@${target}`
break
default:
throw new Error(`Unknown method: ${method}`)
@@ -226,7 +226,7 @@ export namespace Installation {
}
if (detectedMethod === "scoop") {
- return fetch("https://raw.githubusercontent.com/ScoopInstaller/Extras/master/bucket/opencode.json", {
+ return fetch("https://raw.githubusercontent.com/ScoopInstaller/Main/master/bucket/opencode.json", {
headers: { Accept: "application/json" },
})
.then((res) => {
diff --git a/packages/web/src/content/docs/index.mdx b/packages/web/src/content/docs/index.mdx
index bee5bd3a3..8b3d3a9c8 100644
--- a/packages/web/src/content/docs/index.mdx
+++ b/packages/web/src/content/docs/index.mdx
@@ -98,8 +98,7 @@ You can also install it with the following commands:
- **Using Scoop**
```bash
- scoop bucket add extras
- scoop install extras/opencode
+ scoop install opencode
```
- **Using NPM**