Просмотр исходного кода

docs: add uninstall troubleshooting steps (#31424)

Co-authored-by: opencode-agent[bot] <opencode-agent[bot]@users.noreply.github.com>
opencode-agent[bot] 2 месяцев назад
Родитель
Сommit
671d193786
1 измененных файлов с 14 добавлено и 0 удалено
  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
 
 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.