Skip to main content
praisonai uninstall removes the managed CLI install and its global praisonai shim, confirming first unless you pass --yes.

Quick Start

1

Remove interactively

praisonai uninstall
Asks Remove PraisonAI X.Y.Z (installed via uv)? [y/N], then removes via the detected manager.
2

Remove without a prompt (CI)

praisonai uninstall --yes
Skips confirmation — the CI-safe form. -y is the short alias.

How It Works

praisonai uninstall detects how the CLI was installed and runs the matching removal command.
Detected managerUninstall command
uvuv tool uninstall praisonai
pipxpipx uninstall praisonai
pip (library install)pip uninstall -y praisonai
This is CLI self-management onlypraisonaiagents (the SDK) is not removed by this command.

Options

FlagDescription
--yes, -ySkip the confirmation prompt (non-interactive/CI).

JSON output

Add --output json for machine-readable output.
{"manager": "uv", "removed": "4.6.145"}
JSON mode never prompts. It proceeds as if --yes were passed, so only use --output json when you intend to remove without confirmation.

Common Patterns

Remove in a CI teardown step.
praisonai uninstall --yes
Capture the result for a report.
praisonai uninstall --yes --output json

Non-Managed Installs

When automatic uninstall isn’t supported for the detected manager, PraisonAI prints a clear error and exits non-zero.
Automatic uninstall is not supported for a 'pip' install.
Remove manually with: pip uninstall praisonai

Best Practices

Keep the confirmation prompt on for interactive use. Reach for --yes (or -y) only in CI teardown or scripted fleet removal.
If you embed praisonaiagents in your own app, praisonai uninstall leaves it intact. Remove the SDK separately with pip uninstall praisonaiagents.
The command runs the same manager that installed the CLI, so the isolated uv tool / pipx environment is removed cleanly without leftover shims.

praisonai upgrade

Update the CLI in place

Update Hint

Non-blocking “update available” notice

Installer Internals

How install.sh provisions the CLI

Quick Install

One-liner install