Skip to content

Add --peers option for add / install command #5284

@emahuni

Description

@emahuni

Describe the user story

The peer deps feature is one of the cool features about this pkg manager. I think you should make it easier to make the tool install peer deps on cli without setting the config.

Describe the solution you'd like

allow
pnpm -i --peers
and
pnpm add --peers package-to-add

Describe the drawbacks of your solution

I don't know of any

Describe alternatives you've considered

none

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions