Quick Start
Commands
install
Install Python packages from PyPI or custom index.
Examples:
uninstall
Uninstall Python packages.
Examples:
package list
List installed packages.
Examples:
package search
Search for packages on PyPI.
Examples:
package index
Manage package index configuration.
Examples:
Security Features
Dependency Confusion Prevention
By default, only the primary index (PyPI) is used. Extra indexes are blocked to prevent dependency confusion attacks.Security Warning
When using--allow-extra-index, you’ll see:
Best Practices
- Prefer
--index-urlover--extra-index-urlwhen possible - Pin versions for production deployments
- Use private index for internal packages instead of extra indexes
- Audit dependencies regularly
Configuration
Configuration is stored in~/.praisonai/config.toml:
Environment Variables
Exit Codes
JSON Output Format
install
package list
package search
package index show
See Also
- Package Manager Module - Python API reference
- Installation Guide - Getting started with PraisonAI

