go install github.com/sst/opencode@latest fails #38

Closed
opened 2026-02-16 17:24:56 -05:00 by yindo · 4 comments
Owner

Originally created by @jeremyvaught on GitHub (Jun 6, 2025).

Originally assigned to: @thdxr on GitHub.

It's trying to install 0.0.53, which doesn't seem to exist.

go: github.com/sst/opencode@latest: module github.com/sst/opencode@latest found (v0.0.53), but does not contain package github.com/sst/opencode

I installed for now using go install github.com/sst/opencode@v0.0.52

Originally created by @jeremyvaught on GitHub (Jun 6, 2025). Originally assigned to: @thdxr on GitHub. It's trying to install 0.0.53, which doesn't seem to exist. `go: github.com/sst/opencode@latest: module github.com/sst/opencode@latest found (v0.0.53), but does not contain package github.com/sst/opencode` I installed for now using `go install github.com/sst/opencode@v0.0.52`
yindo closed this issue 2026-02-16 17:24:56 -05:00
Author
Owner

@jpoz commented on GitHub (Jun 6, 2025):

It looks like it is downloading a JS version of opencode:

[~] $ cd `go env GOMODCACHE`
[mod] $ cd github.com/sst/opencode@v0.0.53
[opencode@v0.0.53] $ ls
bun.lock        bunfig.toml     infra           install         LICENSE         package.json    packages        README.md       screenshot.png  scripts         sst-env.d.ts    sst.config.ts   tsconfig.json
[opencode@v0.0.53] $

i'm guessing from the dontlook branch

@jpoz commented on GitHub (Jun 6, 2025): It looks like it is downloading a JS version of opencode: ```sh [~] $ cd `go env GOMODCACHE` [mod] $ cd github.com/sst/opencode@v0.0.53 [opencode@v0.0.53] $ ls bun.lock bunfig.toml infra install LICENSE package.json packages README.md screenshot.png scripts sst-env.d.ts sst.config.ts tsconfig.json [opencode@v0.0.53] $ ``` i'm guessing from the [dontlook](https://github.com/sst/opencode/tree/dontlook) branch
Author
Owner

@jpoz commented on GitHub (Jun 6, 2025):

The v0.0.53 release needs to be retracted. In the meantime you can install the latest by running:

GOPROXY=direct go install github.com/sst/opencode@latest
@jpoz commented on GitHub (Jun 6, 2025): The v0.0.53 release needs to be retracted. In the meantime you can install the latest by running: ```sh GOPROXY=direct go install github.com/sst/opencode@latest ```
Author
Owner

@sudomateo commented on GitHub (Jun 7, 2025):

Based on https://github.com/golang/go/issues/66653 the Go module proxy will cache the v0.0.53 tag indefinitely. I would recommend not releasing a v0.0.53 tag for this repository and instead jump to v0.0.54. The step outlined in https://github.com/sst/opencode/issues/69#issuecomment-2950755866 is the best way to install latest until v0.0.54 or later is released. Alternatively, install a specific version.

@sudomateo commented on GitHub (Jun 7, 2025): Based on https://github.com/golang/go/issues/66653 the Go module proxy will cache the v0.0.53 tag indefinitely. I would recommend not releasing a v0.0.53 tag for this repository and instead jump to v0.0.54. The step outlined in https://github.com/sst/opencode/issues/69#issuecomment-2950755866 is the best way to install latest until v0.0.54 or later is released. Alternatively, install a specific version.
Author
Owner

@thdxr commented on GitHub (Jun 14, 2025):

going to close for now as 0.1.x is a rewrite. feel free to open a new issue if it's still a problem

@thdxr commented on GitHub (Jun 14, 2025): going to close for now as 0.1.x is a rewrite. feel free to open a new issue if it's still a problem
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#38