Skip to content

Conversation

@itsrainingmani
Copy link
Contributor

@itsrainingmani itsrainingmani commented Jan 15, 2026

Fixes: #8573

What does this PR do?

  • Adds uninstall information and commands for choco/scoop installs
  • Extends bun remove -g opencode-ai on windows to clean leftover installed artifacts -
    • binaries: .bun\bin\opencode.{exe|bunx}
    • node_modules: .bun\install\global\node_modules\opencode-windows-x64{-baseline}
  • Informs user if they're trying to uninstall opencode via choco from a non-elevated command shell
Screenshot 2026-01-14 194122

How did you verify your code works?

I tested every install method on Windows (Windows Terminal, WezTerm) and uninstalled w/ every method to ensure that the uninstallation happens cleanly and does not leave behind artifacts.

Bun Remove

Screenshot 2026-01-14 192932

Choco Uninstall

Screenshot 2026-01-14 192823

Scoop Uninstall

Screenshot 2026-01-14 191139

@github-actions
Copy link
Contributor

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@github-actions
Copy link
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

opencode uninstall should work for chocolatey and scoop on windows

1 participant