Skip to content

Latest commit

 

History

History

cli

🛠️ 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, and dlx 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.