Skip to content

Conversation

@kunaljaykam
Copy link

@kunaljaykam kunaljaykam commented Nov 4, 2025

Fix for Issue #3900

there's one more pr on the same issue but it didn't looked right: #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

@kunaljaykam kunaljaykam marked this pull request as ready for review November 4, 2025 17:38
@kunaljaykam kunaljaykam changed the title WIP feat: add uninstall command to remove OpenCode and clean up related files feat: add uninstall command to remove OpenCode and clean up related files Nov 4, 2025
@kunaljaykam kunaljaykam marked this pull request as draft November 4, 2025 17:47
@kunaljaykam kunaljaykam marked this pull request as ready for review November 5, 2025 04:40
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.

2 participants