praisonai uninstall

Cleanly remove the managed PraisonAI CLI environment and shim

Cleanly remove the PraisonAI CLI — praisonai uninstall deletes the managed environment and global shim that the one-line installer created.

bash
praisonai uninstall
Diagram

Yes / –yes

No

🧩 Detect install

Confirm?

🗑️ Remove managed env + shim

↩️ Cancelled

✅ Removed

Quick Start

  1. Interactive uninstall

    Prompts for confirmation, then removes the managed install:

    bash
    praisonai uninstall
    Remove PraisonAI 1.3.0 (installed via uv)? [y/N]
  2. Non-interactive (CI)

    Skip the prompt with --yes (or -y):

    bash
    praisonai uninstall --yes

What It Removes

RemovedNot touched
The managed environment (uv tool / pipx venv)Your ~/.praison/ config and state
The global praisonai shim on your PATHAny provider API keys you configured

The command detects how the CLI was installed and runs the matching removal command:

Install typeUninstall command run
uv-manageduv tool uninstall praisonai
pipx-managedpipx uninstall praisonai
plain pippip uninstall -y praisonai

Flags

FlagDescription
--yes, -ySkip the confirmation prompt (non-interactive / CI).
--jsonGlobal flag — emit machine-readable output ({"manager": ..., "removed": ...}).

Human output

bash
praisonai uninstall --yes
PraisonAI 1.3.0 removed.

JSON output

bash
praisonai --json uninstall --yes
json
{"manager": "uv", "removed": "1.3.0"}

Best Practices

Use –yes in scripts and CI

Non-interactive shells have no TTY for the confirmation prompt. Pass --yes (or --json) to run cleanly in automation.

Keep your config if you plan to reinstall

praisonai uninstall leaves ~/.praison/ in place, so a later reinstall keeps your settings and cache. Remove that directory manually only if you want a fully clean slate.


Related