uv tool → pipx → bootstrap uv) so you get a working praisonai CLI in an isolated environment without touching your global Python. Windows has its own install.ps1 that installs praisonai[all] into a per-user venv.
install.sh (macOS / Linux / WSL)
Run it with:How It Works
1
Detect platform
Reads
uname -s / uname -m to report the OS and architecture.2
Require curl
Errors out immediately if
curl is not available.3
Check PRAISONAI_INSTALLER override
If set to
uv or pipx, forces that manager. pipx errors if not installed; uv bootstraps itself when missing. Any other value errors.4
Pick a tool manager
In auto mode: use
uv tool if uv is present → else pipx if present → else bootstrap uv.5
Bootstrap uv (only if neither exists)
Downloads
https://astral.sh/uv/install.sh to a temp file first, so a failed or empty download fails loudly instead of a later uv: command not found. Runs it, then verifies uv is on PATH.6
Install praisonai
- uv:
uv tool install --force praisonai - pipx:
pipx install --force praisonai+pipx ensurepath
PRAISONAI_VERSION=x.y.z to install praisonai==x.y.z.7
Wire ~/.local/bin onto PATH
Appends an idempotent block (grepped for the bin dir before writing) to the correct rc file(s):
- zsh →
~/.zshrc - fish →
~/.config/fish/config.fish(fish_add_pathwhen available, POSIX-safe fallback otherwise) - bash → both
~/.bashrcand the applicable login profile (~/.bash_profile→~/.bash_login→~/.profile, first that exists) - anything else →
~/.profile
8
Print Get started panel
Points at
praisonai setup, praisonai upgrade, praisonai upgrade --check, and praisonai uninstall.Bash gets both
~/.bashrc and a login profile wired, so login shells find the binary too. Fish uses fish_add_path when available with a POSIX-safe fallback for older fish. A failed uv bootstrap surfaces a clear error rather than a later “uv: command not found”.User Interaction Flow
Environment Variables (the only knobs)
The installer has no CLI flags. Its only inputs are three environment variables.Power-User Alternatives (No Installer Needed)
These are first-class supported paths — no installer required:Manage Your Install
After installation, the installer’s “Get started” panel points at these self-management commands:Choosing a Manager
Not sure which manager to pick? The installer chooses automatically. Read more in Isolation Backends.
CI/CD Usage
- GitHub Actions
- GitLab CI
- Docker
Uninstall
Use the built-in self-management command, which removes the managed install via the detected manager:Troubleshooting
praisonai not found after install
praisonai not found after install
Restart your terminal or source your shell rc:Or add
~/.local/bin to PATH manually:Force a specific manager
Force a specific manager
I have both uv and pipx — which runs?
I have both uv and pipx — which runs?
The installer picks
uv first. Override with PRAISONAI_INSTALLER=pipx.uv bootstrap failed (network/DNS)
uv bootstrap failed (network/DNS)
The installer downloads
astral.sh/uv/install.sh to a temp file and fails loudly if the download is empty or the network is unreachable. Install uv or pipx manually, then re-run:install.ps1 (Windows)
Run it with:Default install is
praisonai[all] — the wrapper package is included so python -m praisonai setup runs on first launch. Fixed in PraisonAI PR #3029; earlier installs shipped only praisonaiagents and the setup wizard would fail with No module named praisonai.How It Works
1
Detect Python
Requires Python >= 3.10. If missing, tries
winget install Python.Python.3.12 → choco install python → scoop install python.2
Ensure pip
Bootstraps pip via
ensurepip, falling back to get-pip.py.3
Create venv
Creates a venv at
%USERPROFILE%\.praisonai\venv (unless -NoVenv).4
Install praisonai[all]
Installs
praisonai[all] into the venv — this is the PR #3029 fix. Previously it installed praisonaiagents, leaving the praisonai wrapper absent.5
Wire PATH
Prepends
<venv>\Scripts to the user Path environment variable.6
Verify
Confirms the install can
import praisonaiagents and (if on PATH) praisonai --version.7
Run onboarding
Runs
python -m praisonai setup. Skipped if -NoOnboard, -DryRun, PRAISONAI_NO_PROMPT is set, or the session is non-interactive / stdin-redirected.8
Print Next steps
Prints the venv activate command, a quick-start Python one-liner, the docs link, and an
OPENAI_API_KEY reminder.Parameters
Choosing Extras
Related
Quick Install
One-liner install with options
Isolation Backends
Choose between uv and pipx
Upgrade
Update the CLI in place
Uninstall
Remove the managed install

