Repository navigation
docs: add mise install method - #55415
Conversation
There was a problem hiding this comment.
The new command works, provided users have a recent mise. I ran mise use -g opencode: with mise 2026.10.9 it installed opencode v2.0.28 from npm and ran without the postinstall error from the issue. With mise 2026.10.8 the same command still installs 1.19.0, because the opencode name only points to npm from 2026.10.9 on. No leftover github:anomalyco/opencode mise commands remain in the landing page or docs.
Public API: unchanged (docs and landing page only).
One thing worth fixing: users with an older mise silently get v1. Today that includes a fresh curl https://mise.run | sh, which picked 2026.10.8 because of mise's 24h minimum release age. A short note next to the command, such as "requires mise 2026.10.9 or newer (mise self-update)", would prevent the same report coming back. See the inline comment.
Related: #54084
|
|
||
| ```bash | ||
| mise use -g github:anomalyco/opencode | ||
| mise use -g opencode |
There was a problem hiding this comment.
mise use -g opencode only installs 2.x on mise ≥ 2026.10.9. On 2026.10.8, which curl https://mise.run | sh still selected for me today because of mise's 24h minimum release age, the registry entry is still aqua:anomalyco/opencode, and this command installs 1.19.0 with no warning. Could you add a short note here and on the landing page, e.g. "requires mise 2026.10.9+; run mise self-update first"? Otherwise people with an older mise will keep landing on v1.
3ae0b01 to
b80b106
Compare
Fixes #55405
Adds mise to the V2 install methods:
mise use -g opencode.The
opencodeentry in mise's registry now installs 2.x from npm (@opencode/cli, with the postinstall build allowed) and keeps the GitHub-release backend for 1.x (jdx/mise#14295). That shipped in mise 2026.10.9. Older mise versions, and thegithub:anomalyco/opencodebackend, still resolve to 1.19.0 because V2 has no GitHub Release binaries, so the docs name the minimum mise version.Verified in an isolated mise home:
mise use -g opencodeinstalls 2.0.29, andopencode --versionprintsopencode v2.0.29mise latest opencodereturns 1.19.0services/www:check:generated,typecheckandbuildpass.Requested by: @neriousy (Filip via Slack)