docs: add uninstall troubleshooting steps (#31424)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
This commit is contained in:
opencode-agent[bot] 2026-06-09 10:49:18 +02:00 committed by GitHub
parent 2ababc87da
commit 671d193786
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -37,6 +37,20 @@ This directory contains:
---
## Uninstall
To uninstall the OpenCode CLI and remove its related files, run:
```bash
opencode uninstall
```
The command shows what will be removed and asks for confirmation. See the [CLI reference](/docs/cli#uninstall) for options to keep your configuration or application data.
To remove OpenCode Desktop, uninstall the application through your operating system's app management tools.
---
## Desktop app
OpenCode Desktop runs a local OpenCode server (the `opencode-cli` sidecar) in the background. Most issues are caused by a misbehaving plugin, a corrupted cache, or a bad server setting.