From 671d1937867fc85c0d300a47faba371b5eab5e54 Mon Sep 17 00:00:00 2001 From: "opencode-agent[bot]" <219766164+opencode-agent[bot]@users.noreply.github.com> Date: Tue, 9 Jun 2026 10:49:18 +0200 Subject: [PATCH] docs: add uninstall troubleshooting steps (#31424) Co-authored-by: opencode-agent[bot] --- packages/web/src/content/docs/troubleshooting.mdx | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/packages/web/src/content/docs/troubleshooting.mdx b/packages/web/src/content/docs/troubleshooting.mdx index 40ac70b9e..c4d504bd8 100644 --- a/packages/web/src/content/docs/troubleshooting.mdx +++ b/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.