[PR #3909] feat: add uninstall command to remove OpenCode and clean up related files #10797

Closed
opened 2026-02-16 18:15:32 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/3909

State: closed
Merged: No


Fix for Issue https://github.com/sst/opencode/issues/3900

there's one more pr on the same issue but it didn't looked right: https://github.com/sst/opencode/pull/3904

Files created/modified:

  1. src/cli/cmd/uninstall.ts - New uninstall command implementation
  2. src/index.ts - Registered the UninstallCommand
  3. README.md - Added uninstall documentation section

Key features:

  • Confirmation dialog before uninstalling
  • Detects installation method (curl, npm, pnpm, bun, brew)
  • Handles curl installs by checking common binary locations
  • Option to keep user data with --keep-data
  • Friendly error messages and progress indicators
  • Thank you message with feedback link
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/3909 **State:** closed **Merged:** No --- Fix for Issue https://github.com/sst/opencode/issues/3900 there's one more pr on the same issue but it didn't looked right: https://github.com/sst/opencode/pull/3904 Files created/modified: 1. src/cli/cmd/uninstall.ts - New uninstall command implementation 2. src/index.ts - Registered the UninstallCommand 3. README.md - Added uninstall documentation section Key features: - ✅ Confirmation dialog before uninstalling - ✅ Detects installation method (curl, npm, pnpm, bun, brew) - ✅ Handles curl installs by checking common binary locations - ✅ Option to keep user data with --keep-data - ✅ Friendly error messages and progress indicators - ✅ Thank you message with feedback link
yindo added the pull-request label 2026-02-16 18:15:32 -05:00
yindo closed this issue 2026-02-16 18:15:32 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#10797