| Crates.io | package-installer-cli |
| lib.rs | package-installer-cli |
| version | 2.4.0 |
| created_at | 2025-09-21 10:30:41.28517+00 |
| updated_at | 2025-10-17 18:31:49.220461+00 |
| description | A cross-platform CLI for scaffolding modern web applications. Uses bundled CLI with all dependencies included - no manual installation required. |
| homepage | |
| repository | https://github.com/0xshariq/rust_package_installer_cli |
| max_upload_size | |
| id | 1848686 |
| size | 8,789,708 |
A cross-platform, interactive CLI to scaffold modern web application templates with support for multiple frameworks, languages, and development tools. This Rust wrapper automatically manages Node.js dependencies and provides both local and global installation options.
# Using npm (recommended)
npm install @0xshariq/package-installer
# Using yarn
yarn add @0xshariq/package-installer
# Using pnpm
pnpm add @0xshariq/package-installer
Benefits:
cargo install package-installer-cli
Benefits:
The Rust wrapper intelligently manages the TypeScript CLI:
cargo install)# Create a new project
pi create my-app
# Get help
pi --help
# List available templates
pi list
# Analyze existing project
pi analyze
npm install)# Using npx (recommended)
npx pi create my-app
# Using direct path
./node_modules/.bin/pi create my-app
# Add to package.json scripts
{
"scripts": {
"scaffold": "pi create",
"analyze": "pi analyze"
}
}
# Install locally in your project
npm install @0xshariq/package-installer
# Use with npx
npx pi create my-app
# Or add to package.json scripts
{
"scripts": {
"create": "pi create"
}
}
# Install globally
cargo install package-installer-cli
# Use directly (will find local installation if available)
pi create my-app
# Or use the binary name directly
package-installer-cli create my-app
The Rust wrapper checks for CLI in this order:
| 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 |
| 📦 Bundle Info | Distribution bundle system and cross-platform packaging |
| 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
| 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
# Install Node.js from https://nodejs.org
# Or use package managers:
# macOS (Homebrew)
brew install node
# Ubuntu/Debian
sudo apt-get install nodejs npm
# Windows (Chocolatey)
choco install nodejs
# Verify installation
node --version
npm --version
# Option 1: Use local installation
npm install @0xshariq/package-installer
npx pi create my-app
# Option 2: Clear cache and retry
rm -rf ~/.cache/.package-installer-cli # Linux/macOS
pi create my-app
# Option 3: Manual installation
cd ~/.cache/.package-installer-cli
npm install --production
# Fix npm permissions
npm config set prefix ~/.npm-global
export PATH=~/.npm-global/bin:$PATH
# Or use local installation
npx @0xshariq/package-installer create my-app
Cache locations:
~/.cache/.package-installer-cli/~/Library/Caches/.package-installer-cli/%LOCALAPPDATA%\.package-installer-cli\Clear cache:
# Linux/macOS
rm -rf ~/.cache/.package-installer-cli
# Windows (PowerShell)
Remove-Item -Recurse -Force "$env:LOCALAPPDATA\.package-installer-cli"
We welcome contributions! Please see our Contributing Guide for details.
This project is licensed under the MIT License - see the LICENSE file for details.
Happy coding! 🚀 Create something amazing with Package Installer CLI.