Skip to content

docs: add WinGet install commands - #54809

Closed
neriousy wants to merge 1 commit into
devfrom
winget-docs
Closed

neriousy wants to merge 1 commit into
devfrom
winget-docs

Conversation

@neriousy

Copy link
Copy Markdown
Member

Issue for this PR

Refs #49554

Stacked on #54808. Merge that first; GitHub will then retarget this PR to dev.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds the WinGet install commands from #54808 to the places that list V2 install methods:

  • Docs intro (services/www/src/docs/content/index.mdx): a winget tab in the CLI install tabs, and a WinGet command for Desktop on Windows. Also removes the "Windows package managers are not supported." line.
  • Download page (packages/console/app/src/routes/download/index.tsx): copyable rows for winget install --id Anomaly.OpenCode -e (terminal) and winget install --id Anomaly.OpenCode.Desktop -e (desktop).
  • Home page (packages/console/app/src/routes/index.tsx): a winget tab next to brew.

The root READMEs still describe the V1 install methods (scoop, choco, opencode-ai), so I left them out of this PR.

Don't merge this until winget-pkgs has accepted the first Anomaly.OpenCode and Anomaly.OpenCode.Desktop submissions. Until then, these commands fail with "No package found".

How did you verify your code works?

  • In services/www: bun typecheck, bun run check:generated and bun run build all pass. In the built output, the new powershell code block is highlighted.
  • In packages/console/app: bun typecheck passes, and prettier reports no issues on the changed files.
  • The home page copy button uses the button's textContent, which produces winget install --id Anomaly.OpenCode -e.

Screenshots / recordings

I didn't take screenshots. The new rows and the tab reuse the existing cli-row and tab components unchanged.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@soroshsabz soroshsabz left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@github-actions

Copy link
Copy Markdown
Contributor

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

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