29 lines
565 B
Markdown
29 lines
565 B
Markdown
|
|
# opencode uninstall
|
||
|
|
|
||
|
|
> Uninstall OpenCode and remove all related files.
|
||
|
|
> More information: <https://opencode.ai/docs/cli#uninstall>.
|
||
|
|
|
||
|
|
- 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]}}`
|