Skip to content
Apothem
CLI リファレンス

uninstall

apothem uninstall コマンドの CLI リファレンス。

ハーネスアダプターの構成を削除します。

構文

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

アダプターが管理するハーネスのターゲットを削除します。--yes が指定されない限り確認を求めます。選択したハーネスがインストールされていない場合、コマンドは成功し(終了コード 0)、「nothing to remove」の通知を表示します。

連続形のエイリアス apothem uninstalling は同じハンドラーに解決されます。

オプション

オプション説明
--harness NAME削除するハーネスアダプター、またはレジストリ全体の集合を表す all(必須)。
--yes確認プロンプトをスキップします。
--project PATHプロジェクトスコープのハーネス用のプロジェクトルート。
--quiet, -q情報出力を抑制し、エラーのみを出力します。
--verbose, -v追加の診断出力を発行します。
--format plain|json出力形式(デフォルト: plain)。
--json--format json の省略形。
--no-color出力の ANSI カラーコードを無効にします。
-h, --helpヘルプを表示して終了します。

JSON 出力

アダプターがインストールされ、正常に削除された場合:

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

アダプターがインストールされていなかった場合:

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

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

終了コード

コード意味
0アダプターをアンインストールした、またはインストールされていなかった
1ハーネスが見つからない、またはユーザーが確認プロンプトを中止した

関連項目

  • apothem uninstalling — このコマンドの連続形エイリアス(ここで文書化。CLI は両方の形式を受け付けます)
  • apothem install — ハーネス構成をインストールします
  • apothem verify — インストール状態を確認します

On this page