Skip to content

0xshariq/py_package_installer_cli

Repository files navigation

📦 Package Installer CLI

PyPI version License: MIT Python Node.js

A cross-platform, interactive CLI to scaffold modern web application templates with support for multiple frameworks, languages, and development tools. Create production-ready projects in seconds!

🚀 Quick Features

  • 🎨 Multiple Frameworks: React, Next.js, Express, Angular, Vue, Rust
  • 🔤 Language Support: TypeScript & JavaScript variants
  • 🎭 UI Libraries: Tailwind CSS, Material-UI, shadcn/ui
  • 📦 Smart Package Management: Auto-detects npm, yarn, pnpm
  • ⚡ Lightning Fast: Optimized template generation with intelligent caching
  • 🌈 Beautiful CLI: Gorgeous terminal interface with real-time analytics
  • 🔍 Project Analysis: Advanced dependency analysis and project insights

✨ New Features

  • 📊 Enhanced Analytics Dashboard: Real-time usage analytics with detailed insights
  • 🎯 Smart Dependency Updates: Project-specific dependency management for JS, Python, Rust, Go, Ruby, PHP
  • 🚀 Intelligent CLI Upgrades: Separate upgrade system with breaking change detection
  • 💾 .package-installer-cli Folder: All cache and history stored in dedicated folder
  • 📈 Usage Tracking: Comprehensive command and feature usage tracking
  • ⚡ Performance Insights: Productivity scoring and usage patterns

📥 Installation

# Using pip
pip install package-installer-cli

# Using pip3
pip3 install package-installer-cli

🎯 Quick Start

# Create new project interactively
pi create

# Analyze project with enhanced dashboard
pi analyze

# Update project dependencies only
pi update

# Upgrade CLI to latest version
pi upgrade-cli

📚 Documentation

Document Description
📋 Commands Complete command reference with examples
⚡ Features Detailed feature documentation and usage
🎨 Templates Available templates and customization options
🚀 Deployment Deployment options and platform integration

🛠️ Command Overview

Command Description Usage
pi create Create new project from templates pi create [name]
pi analyze Enhanced project analytics dashboard pi analyze [--detailed]
pi update Update project dependencies pi update [--latest]
pi upgrade-cli Upgrade CLI to latest version pi upgrade-cli
pi add Add features to existing projects pi add [feature]
pi doctor Diagnose and fix project issues pi doctor
pi clean Clean development artifacts pi clean [--all]

For complete command documentation, see commands

🏗️ Supported Project Types

Language/Framework Templates Package Managers
JavaScript/TypeScript React, Next.js, Express, Angular, Vue npm, yarn, pnpm
Python Django, Flask, FastAPI pip, poetry
Rust Basic, Advanced, Web cargo
Go CLI, Web, API go mod
Ruby Rails, Sinatra bundler
PHP Laravel, Symfony composer

For detailed template information, see templates

🎯 System Requirements

  • Python: 3.8 or higher
  • Node.js: 18.0.0 or higher (required for the underlying CLI)
  • Operating Systems: Windows, macOS, Linux
  • Package Managers: npm, yarn, or pnpm
  • Git: Required for project initialization

🐛 Troubleshooting

Quick Fixes

# Clear cache and reinstall
pip uninstall package-installer-cli
pip install package-installer-cli

# Use pip with --user if global installation fails
pip install --user package-installer-cli

# Check CLI status
pi doctor

🤝 Contributing

We welcome contributions! Please see our Contributing Guide for details.

📄 License

This project is licensed under the MIT License - see the LICENSE file for details.

🔗 Links


Happy coding! 🚀 Create something amazing with Package Installer CLI.