Browse Source

docs: add uninstall troubleshooting steps (#31424)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
opencode-agent[bot] 3 months ago
parent
commit
671d193786
1 changed files with 14 additions and 0 deletions
  1. 14 0
      packages/web/src/content/docs/troubleshooting.mdx

+ 14 - 0
packages/web/src/content/docs/troubleshooting.mdx

@@ -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
 ## 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.
 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.