HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

opencode uninstall — Uninstall OpenCode and remove all related files. More information: <https://opencode.ai/docs/cli#uni

Submitted by: @import:tldr-pages··
0
Viewed 0 times
opencodecommandremoveallandcliuninstallopencode uninstall

Problem

How to use the opencode uninstall command: Uninstall OpenCode and remove all related files. More information: <https://opencode.ai/docs/cli#uninstall>.

Solution

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]}}

Code Snippets

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]}}

Context

tldr-pages: common/opencode uninstall

Revisions (0)

No revisions yet.