--- syntax: markdown tags: [tldr, common] source: https://github.com/tldr-pages/tldr.git --- # opencode uninstall > Uninstall OpenCode and remove all related files. > More information: . - Uninstall OpenCode: `opencode uninstall` - Uninstall and keep configuration files: `opencode uninstall {{[-c|--keep-config]}}` - Uninstall and keep session data and snapshots: `opencode uninstall {{[-d|--keep-data]}}` - Show what would be removed without removing: `opencode uninstall --dry-run` - Skip confirmation prompts: `opencode uninstall {{[-f|--force]}}` - Display help: `opencode uninstall {{[-h|--help]}}`