opencode
opencode copied to clipboard
feat(cli): uninstall opencode installed via windows package managers
Fixes: #8573
What does this PR do?
- Adds uninstall information and commands for choco/scoop installs
- Extends
bun remove -g opencode-aion windows to clean leftover installed artifacts -- binaries:
.bun\bin\opencode.{exe|bunx} - node_modules:
.bun\install\global\node_modules\opencode-windows-x64{-baseline}
- binaries:
- Informs user if they're trying to uninstall opencode via
chocofrom a non-elevated command shell
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
Choco Uninstall
Scoop Uninstall
Thanks for your contribution!
This PR doesn't have a linked issue. All PRs must reference an existing issue.
Please:
- Open an issue describing the bug/feature (if one doesn't exist)
- Add
Fixes #<number>orCloses #<number>to this PR description
See CONTRIBUTING.md for details.
The following comment was made by an LLM, it may be inaccurate:
No duplicate PRs found