opencode
opencode copied to clipboard
`opencode uninstall` should work for chocolatey and scoop on windows
Description
Currently opencode uninstall does not support uninstalling opencode if it has been installed via package managers on windows (choco, scoop).
There should be feature parity in the behavior of the command.
Plugins
No response
OpenCode version
1.1.20
Steps to reproduce
- Install
opencodew/choco install opencodeorscoop install extras\opencode - Run
opencode uninstall - Check if it is uninstalled -
opencode -v
Screenshot and/or share link
Operating System
Windows 11
Terminal
Windows Terminal
This issue might be a duplicate of existing issues. Please check:
- #3900: feature: uninstall command - The original feature request for an uninstall command, which should handle package managers properly
- #6108: Unable to uninstall - A Windows-specific uninstall issue that may be related to package manager installations
- #3319: Is there a way to uninstall - Early request for uninstall functionality
- #2992: opencode fails to start after chocolatey install - Chocolatey-specific installation issues that may also affect uninstallation
Feel free to ignore if none of these address your specific case.