Skip to content

docs: fix pnpm v2 install command - #41330

Closed
opencode-agent[bot] wants to merge 1 commit into
v2from
pnpm-install-docs
Closed

docs: fix pnpm v2 install command#41330
opencode-agent[bot] wants to merge 1 commit into
v2from
pnpm-install-docs

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor

Summary

  • put pnpm’s --allow-build option before the add command, matching pnpm’s documented invocation
  • keep the @next tag explicit so the V2 CLI is installed

Verification

  • installed into an isolated pnpm home and confirmed opencode2 v0.0.0-next-17041
  • blume check
  • blume validate
  • website production build

Requested by: @kitlangton (Kit Langton via X)

@opencode-agent

opencode-agent Bot commented Aug 8, 2026

Copy link
Copy Markdown
Contributor Author

Closing this: both the existing and reordered pnpm commands install the current @next build in a clean environment, so this change does not address the reported stale tui-v2 installation. The root cause needs a reproducible diagnosis first.

@opencode-agent opencode-agent Bot closed this Aug 8, 2026
@VanTanev

VanTanev commented Aug 8, 2026

Copy link
Copy Markdown

Wrong, this is reproducable; pnpm v11 rejects @next tag because it's less than 24 hours old.

Actual fix is:

pnpm add -g --config.minimum-release-age=0 --allow-build=@opencode-ai/cli @opencode-ai/cli@next

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants