universal-pm
v0.0.9
Published
Professional Package Manager CLI for npm, pnpm, and bun - Unified CLI for all package managers
Readme
universal-pm - Professional Package Manager CLI
Important Disclaimer
This project is 100% AI-generated code.
This CLI tool was created entirely by an AI assistant. The creator has no prior coding knowledge and built this project purely for fun and learning purposes.
If you find any bugs, issues, or have suggestions:
- Please be understanding - this was a learning project
- Feel free to report issues, but know that fixes may take time
- Contributions are welcome!
Features
- Unified Management - Control npm, pnpm, and bun from one CLI
- Beautiful UI - Colorful, organized output with tables and badges
- 50+ Commands - Search, install, update, compare packages, and more
- GitHub Integration - Search repos directly from CLI
- Package Availability Check - Check if a package exists in npm/pnpm/bun
- Security Audit - Run npm audit for vulnerabilities
- Favorites System - Save your favorite packages
- Multiple Themes - Support for dark, light, and red themes
Installation
Quick Start
# Clone the repo
git clone https://github.com/golusprasad12-arch/universal-pm.git
cd universal-pm
# Install dependencies
bun install
# Run directly
bun run src/index.ts
# Or build executable
bun run buildUsing the Executable
After building, use:
./universal-pm.exe --help # Windows
universal-pm --help # After npm installUsage
Basic Commands
universal-pm list # List all installed packages
universal-pm check # Check for updates
universal-pm install <pkg> # Install a package
universal-pm uninstall <pkg> # Remove a package
universal-pm update # Update all packagesSearch & Info
universal-pm search <query> # Search npm registry
universal-pm info <pkg> # Get package details
universal-pm github <query> # Search GitHub repos
universal-pm available <pkg> # Check if package exists in npm/pnpm/bun
universal-pm compare <pkg1> <pkg2> # Compare two packagesPackage Management
universal-pm outdated # Show outdated packages
universal-pm major # Update major versions only
universal-pm downgrade <pkg>@v # Install specific version
universal-pm clean # Clean cache
universal-pm audit # Security auditUtilities
universal-pm stats # Package statistics
universal-pm which <pkg> # Find package location
universal-pm size # Disk usage
universal-pm backup # Backup package list
universal-pm doctor # System health check
universal-pm help # Show all commandsExample Output
╔══════════════════════════════════════════════════════════════════════╗
║ ║
║ ██╗ ██╗ ███╗ ██╗ ██╗ ██████╗ ███╗ ███╗ ║
║ ██║ ██║ ████╗ ██║ ██║ ██╔══██╗ ████╗ ████║ ║
║ ██║ ██║ ██╔██╗ ██║ ██║ ██████╗ ██████╔╝ ██╔████╔██║ ║
║ ██║ ██║ ██║╚██╗██║ ██║ ╚═════╝ ██╔═══╝ ██║╚██╔╝██║ ║
║ ╚██████╔╝ ██║ ╚████║ ██║ ██║ ██║ ╚═╝ ██║ ║
║ ╚═════╝ ╚═╝ ╚═══╝ ╚═╝ ╚═╝ ╚═╝ ╚═╝ v0.0.1 ║
║ ║
║ universal-pm ║
║ ║
║ Professional Package Manager CLI ║
║ ║
╚══════════════════════════════════════════════════════════════════════╝
Total Packages: 18
npm: 16
pnpm: 0
bun: 2
┌──────────────────────┬───────────────┐
│ Package Name │ Version │
├──────────────────────┼───────────────┤
│ @google/gemini-cli │ 0.35.0 │
│ @googleworkspace/cli │ 0.19.0 │
│ typescript │ 5.4.2 │
└──────────────────────┴───────────────┘Available Commands
| Category | Commands | |----------|----------| | List & View | list, find, outdated, tree, stats, duplicates, group, sort | | Update & Manage | check, install, uninstall, update, major, dry-run, downgrade | | Search & Info | search, info, github, available, compare, deps, downloads, license, reverse, recent, popular | | Open Links | home, bugs, repo, changelog, web | | Package Info | which, size, age, version | | System & Tools | doctor, audit, clean, backup, export, json | | Favorites | star, favorites, alias, run | | Advanced | link, unlink, prune, cron, init, config, restore |
Configuration
Themes are available:
universal-pm --dark # Dark theme (default)
universal-pm --light # Light theme
universal-pm --red # Red themeContributing
Since this is an AI-generated project for learning purposes:
- Feel free to fork the project
- Submit pull requests if you improve it
- Don't expect fast bug fixes - the creator is learning!
- Be kind and constructive with feedback
License
MIT License - Feel free to use, modify, and distribute!
Acknowledgments
- Built with Bun - Fast JavaScript runtime
- Colorful CLI using Chalk
- Table formatting with cli-table
- Command parsing with Commander
Requirements
- Bun (recommended) or Node.js
- Windows, macOS, or Linux
- npm, pnpm, and/or bun installed
