Skip to content

uninstall — Apothem CLI

Remove a harness adapter configuration.

Synopsis

apothem uninstall --harness NAME [--yes]
                   [--quiet|-q] [--verbose|-v]
                   [--format plain|json] [--json] [--no-color]

Deletes the harness-native configuration file. Prompts for confirmation unless --yes is supplied. If the harness is not installed, the command succeeds (exit 0) with a "nothing to remove" notice.

The continuous-form alias apothem uninstalling resolves to the same handler.

Options

Option Description
--harness NAME Harness adapter to remove (required).
--yes Skip confirmation prompt.
--quiet, -q Suppress informational output; only errors are emitted.
--verbose, -v Emit additional diagnostic output.
--format plain\|json Output format (default: plain).
--json Shorthand for --format json.
--no-color Disable ANSI color codes in output.
-h, --help Show help and exit.

JSON output

When the adapter is installed and successfully removed:

{"action": "uninstalled", "harness": "claude-code", "output_path": "..."}

When the adapter was not installed:

{"status": "not_installed", "harness": "claude-code"}

Examples

apothem uninstall --harness claude-code
apothem uninstall --harness claude-code --yes
apothem Uninstalling --harness cursor --yes   # continuous-form alias

Exit codes

Code Meaning
0 Adapter uninstalled, or was not installed
1 Harness not found, or user aborted the confirmation prompt

See also