Skip to content

feat: provide support for other package manager like pnpm or yarm #5123

@rajinder-yadav

Description

@rajinder-yadav

Prerequisites

Describe the Feature Request

I'm on a Linux system and for me NPM now take forever to install packages and sometimes just halts for minutes.

So I have switched to using 'pnpm' and I would like to be able to create a ionic project where pnpm is used as my package manager.

Ionic CLI is hardcoded to use 'npm' even when I've made an alias for 'npm' as 'pnpm' on my Linux system. As a result npm just hangs creating an ionic project.

Describe the Use Case

Creating a new project and or general package management.

Describe Preferred Solution

Just provide a switch to set the package manager, I suggest:

---pnpm
--yarm

Better yet just discover if 'pnpm' or 'yarn' are already install on the system and default to use one of them.

Describe Alternatives

No response

Related Code

No response

Additional Information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions