commands.sh

opencode uninstall

all

Uninstall OpenCode and remove all related files.

More info →

Options (4)

-c, --keep-configboolean

Uninstall and keep configuration files

Example: opencode uninstall {{[-c|--keep-config]}}
-d, --keep-databoolean

Uninstall and keep session data and snapshots

Example: opencode uninstall {{[-d|--keep-data]}}
-f, --forceboolean

Skip confirmation prompts

Example: opencode uninstall {{[-f|--force]}}
-h, --helpboolean

Display help

Example: opencode uninstall {{[-h|--help]}}

Examples (6)

Uninstall OpenCode

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

Skip confirmation prompts

opencode uninstall [-f|--force]

Display help

opencode uninstall [-h|--help]
made by @shridhargupta | data from tldr-pages