0.1.2 β’ Published 6 months ago
panam-cli v0.1.2
π οΈ Panam CLI
Panam CLI provides a unified command-line interface for managing projects across multiple package managers, ensuring a seamless development experience regardless of the runtime environment.
π Installation
Install Panam CLI globally using your preferred package manager:
With
npm
:npm install -g panam-cli
With
yarn
:yarn global add panam-cli
With
pnpm
:pnpm add -g panam-cli
With
bun
:bun install -g panam-cli
With
deno
:deno install --allow-scripts npm:panam-cli
π§βπ» Usage
Run a Command
Panam CLI automatically detects the active package manager for your project:
panam install
Execute a Script
Run a script defined in your package.json
:
pnm run <script-name>
Add or Remove Packages
Add a Package
pnm add lodash
Remove a Package
pnm remove lodash
Use exec
or dlx
Execute a Global Tool
pnm exec eslint .
Use dlx
for Temporary Tools
pnm dlx create-react-app my-app
π Features
- Unified commands: Consistent interface
across
npm
,pnpm
,yarn
,bun
,deno
, and more. - Command flexibility: Support
for
install
,add
,remove
,run
,exec
, anddlx
commands. - Automatic detection: Detects the appropriate package manager for your project.
- Cross-runtime compatibility: Works with popular runtimes and environments.
π‘ Examples
Install Dependencies
pnm install
Add a Development Dependency
pnm add --dev typescript
Run a Build Script
pnm run build
Lint Your Code
pnm exec eslint .
π Documentation
Visit the Panam website for detailed CLI documentation and usage examples.
π‘οΈ License
Licensed under the MIT License. Created with β€οΈ by Sigui KessΓ© Emmanuel.