BetterPack
Universal Package Manager Interface with AI-Powered Project Management
Overview
BetterPack is a universal interface for package managers that provides a consistent set of commands across npm, yarn, pnpm, and bun. It automatically detects your project's package manager and translates commands accordingly.
🚀 Universal Commands
One set of commands works across all package managers
🤖 AI Integration
Built-in AI assistant for project management and code generation
📦 Smart Bundling
Bundle projects into executables, installers, and archives
🔧 Auto-Detection
Automatically detects and uses the right package manager
Installation
npm install -g betterpack
Or using other package managers:
# Using yarn
yarn global add betterpack
# Using pnpm
pnpm add -g betterpack
# Using bun
bun add -g betterpack
Universal Commands
bpack install
Install all dependencies
bpack add <package>
Add a new package
bpack remove <package>
Remove a package
bpack update
Update dependencies
bpack run <script>
Run a package script
bpack test
Run tests
BetterPack Specific Commands
bpack create
Interactive AI-powered project builder
bpack bundle
Bundle project into various formats (JS, ZIP, EXE, MSIX)
bpack agent
Start automated project management agent
bpack gemini
Interactive chat with Google's Gemini AI
bpack host
Start local web server (default port 4020)
bpack watch <file>
Watch file for changes and auto-restart
bpack git <command>
Git wrapper with AI-generated commit messages
Examples
Basic Usage
# Install dependencies
bpack install
# Add a package
bpack add express
# Run development server
bpack run dev
# Build project
bpack build
AI-Powered Project Creation
# Start interactive project builder
bpack create
# Bundle project as executable
bpack bundle --format exe --output myapp.exe
# Start automated agent
bpack agent start